I'm trying to resolve double binding in the link function of a directive:
scope.a = "surprise";
scope.b = "{{ a }}";
the template is <div>{{ b }}</div>
it's rendered like <div>{{ a }}</div>
is it possible to get the view to display <div>surprise</div>
?
I've been trying to recompile the directive, but once b
is binded, contents are a string and angularJS won't attempt any more to bind them.