In this post we are going to see how to change the symbol of evaluate expression in Angular Js. Generally in angular js expression are evaluated when it is placed inside the curly braces,It is a default one,But it can be changed we can set the symbol whatever we want. For example we can change the symbol from {{ }} braces to [[ ]] braces
How to do that ? using interpolateProvider
We have to register the interpolateProvider with Start Symbol and End Symbol.
From the sample you can see how to change the symbol of evaluate expression in angular js.
How to do that ? using interpolateProvider
We have to register the interpolateProvider with Start Symbol and End Symbol.
From the sample you can see how to change the symbol of evaluate expression in angular js.
No comments:
Post a Comment