Hi Lucian, Your directive has an isolate scope. If you isolate the scope, it will inherit nothing from it's parents. So, scope.save will not be available!
Also I don't see anything in your code that makes it need the $compile. Just use you function to make the template. Ditch the for loop in your function and use ng-repeat. You are making it way more complex than it needs to be. Hmm, let me just show you: http://plnkr.co/edit/SIcXRTgS12NTmyvyUccR?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/d/optout.
