I'm trying to use Angular's AOT compiling in VS Code. The output files will then be used in a separate application that uses Handlebars. I do not have access to edit the js that will be consuming these files.
When using both Angular and Handlebars, the Angular AOT compiler crashes when trying to parse the Handlebars directives, since they use the same interpolation characters.
Since I can't change the Handlebars interpolation characters, I need to change the Angular interpolation characters. However, all examples I have found assume you're using the JIT compiler and not AOT.
However I can't find any information on how to implement this at compile time. I've tried putting it in app.module.ts, however that did not work.
I'm still relatively new to Angular, so I'm not sure where I can get a reference to the app and execute this code at compile-time.
EDIT: It has been brought to my attention that AngularJS and Angular are not the same thing. The example I provided was for AngularJS, and have been removed. I am using Angular 7.2. I have not been able to find any information on changing the interpolation characters in Angular.