Back

Explore Courses Blog Tutorials Interview Questions
0 votes
2 views
in Web Technology by (47.6k points)

I want to use AngularJS with Django however they both use {{ }} as their template tags. Is there an easy way to change one of the two to use some other custom templating tag?

1 Answer

0 votes
by (106k points)

You can use $interpolateProvider APIs to configure the interpolation symbols:-

myModule.config(function($interpolateProvider) {  

 $interpolateProvider.startSymbol('{[{');

 $interpolateProvider.endSymbol('}]}'); 

});

Related questions

Browse Categories

...