Hi Rahul, You can expose it on the directive's controller, and expose the controller to the 'outside' with the controllerAs property. Personally, I would lie to keep control to myself, and would just expose the functionality I think of as save. With save i mean that the user of the directive can't hamper program flow.
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 https://groups.google.com/group/angular. For more options, visit https://groups.google.com/d/optout.
