Is it possible to develop pluggable components in Angular 2 using Typescript for a JavaScript project? While any JavaScript code is considered valid Typescript code, what happens when you have already completed your JavaScript(ES5) project and need to incorporate specific modules like Drag-Drop, Form Validator, or Multiple Choice Questions (MCQ) developed in Angular 2 TS?
I am unsure if Angular 2 (Typescript) is suitable for creating pluggable modules or if it is mainly used for building Single Page Applications (SPAs).
Given that Angular 2 components have their own lifecycle and JavaScript functions execute sequentially, how can coordination between them be achieved?
If you have any examples or solutions for this scenario, please share them with me. I have searched online but have not found a suitable answer yet.