angularjs - Angular JS - Binding angular expressions coming from JSON to HTML -


is possible give angular expression inside json file this:

{     "headerhtml": "<div>{{clippedcoupons}}</div>"    } 

and bind directive template (the below convertashtml filter trustashtml):

<header data-ng-bind-html="headerhtml|convertashtml"> </header> 

when bind json, i'm getting {{clippedcoupons}} expression such in page. is possible change dynamically in our controller?


Comments