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.
