Hi Rauf,
Short answer: you can not.
Slightly less short: As angular secures your apps from easy exploits, this
is not as easy to do, and is a bad idea to begin with.
What you can do is add the the module to your app (like:
angular.module('myModule1',['someOthermoduleIWantToInterfaceWith']) ). Then
you can use a service to exchange the variable between
controllers/directives.
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.