Recently I have been working on a AngularJS/Angular hybrid application.
Part of this involve having parallel routers. This requires coordinating the two systems as to which routes should be Angular and which should be AngularJS
The typescript compiler cannot generate browser js.
Angular CLI does not allow the creation of modules that are not used for dynamic loading.
I considered using xslt to create both files that we needed.
In the end I used a json file that is checked by the typescript tests and put in the assets area so deployed by the Angular CLI.