FBX loader is loading the data but not showing the file on display in IONIC

I have used the following examples three.js examples and also, there is no grid or mesh included as mentioned by the expertise of three.js.
Screenshot is attached

I figured it out, it was a structure problem of ionic, we need to define the animate() function outside the class so that it could recall itself simultaneously. And call this function after the main function without this keyword.