Thank your for your reply. I’ve tried your approach and I still get the same is not a constructor error. See the screenshot below:
I am also referring from this Topic:
How do I include THREE.LensFlareElement in Angular Project?
As from @Mugen87’s reply:
Fortunately, there will be a node script with the next release R101 that can generate modules from example files: Added script to generate modules out of example/js files
Whereas on the Milestone Page the progressbar indicates 42% complete. So i don’t think that there will be an easy solution in near time for using example based classes, even with third-party libraries or templates.
Anyway I’ll just leave this as a review for the angular template (non-ionic version) and thank you for your time.
Creative Regards