Because ng-include is declarative, and I need to perform the include 
procedurally, because the decision to load a given piece of html is delayed 
until runtime.

For example, this does not work: $('<div ng-include="template.url"></div>
').appendTo(someExistingElement);


On Thursday, January 22, 2015 at 12:10:02 PM UTC+1, Sander Elias wrote:
>
> Hi Luis,
>
> You can use ng-include to dynamically load templates without an issue? So 
> why can't you just use that?
>
> Regards
> Sander
>

-- 
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.

Reply via email to