Here's a super easy article on 'Dynamically Compile and Add a custom directive in AngularJs' with snapshots. http://www.learn-angularjs-apps-projects.com/AngularJs/dynamically-add-directives-in-angularjs
On Thursday, December 12, 2013 at 5:29:55 PM UTC-6, tonypee wrote: > > I am using the sf-virtual-repeat directive for scrolling, but it doesn't > work in ie8. The easiest fix would be to fall back to using ng-repeat for > ie8, and paginate. > > How could I decide which directive to apply to my <li>? > > I was thinking an extra directive could choose and re-compile or > something? Any ideas? > > > > -- > Tony Polinelli > > > -- 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.
