Hey guys, how can i deal with it?
I have templated cache smtg like this:
<div>
> <div some-directive="scopevar" some-param="scopevar2"></div>
>
{{scopevar3}}
</div>
And i need compile this template into final HTML for export
(some-directive have some template too)
var html = $templateCache.get(templateUrl);
var element = $compile(html )(scope)
var interpolated = $interpolate(element [0].innerHTML)(scope);
In result interpolated = a compiled version of template DOM string but not
a compiled directive DOM (still <div some-directive="scopevar"
some-param="scopevar2"></div>)
Please, help me, how i can get effect which i want? Thanks!
--
You received this message because you are subscribed to the Google Groups
"AngularJS" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/angular.
For more options, visit https://groups.google.com/d/optout.