Hi Sander Thanks for the reply. That's fixed my issue. I thought I had figured out scope inheritance in 1.0.x but it looks like I'll need to read up on it again.
Regards Darren On Saturday, 25 January 2014 12:14:07 UTC, Sander Elias wrote: > > Hi Darren, > > There is a difference between a controller defined via ng-controller and a > directive controller! And for good reason! If you build a directive, it > does not by default create a new scope. If you need/want a new scope, you > can tell your directive to create one. > have a look at this: http://plnkr.co/edit/xm0BUMxyH83pH501OAlg?p=preview > > 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.
