Hi Sander i don't actually have a problem with the code but I don't know how to address separate instances of the directive.
If I use the directive on two separate html elements to create two separate scroller how can I address the separate scrollers. Surely I don't need a directive for each scroller, that would defeat the object. On Tuesday, January 21, 2014 3:51:31 PM UTC, Sander Elias wrote: > > Hi Ttmt, > > Apart from the fact that your code probably calls scope.$init twice it > looks ok to me. > Can you put up a plunk or fiddle demonstrating the problem you have at > hand? > > 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/groups/opt_out.
