You can pass CompilerConfigin bootstrapModule, where you can set up a regular expression that determines which characters are used for interpolation:
var INTERPOLATION_REGEXP = /\{\{([\s\S]*?)\}\}/g; // default
platformBrowserDynamic().bootstrapModule(AppModule, [
{
interpolationRegexp: INTERPOLATION_REGEXP
}
]);
See also Angular2 encapsulation of incremental representations around the world.
source
share