DEV Community

Mohamed Fahath
Mohamed Fahath

Posted on

Answer: Calling properly TypeScript code from JavaScript

This actually not all too complicated. . . the first thing you have to understand is that the component is created as an object by angular, and it contains all the data, components, objects and stuff from your api's so you can't just go have JavaScript make a new one…

Top comments (0)