Hi Subbu,
Best practice would be, do everything inside angular. Or at least make the
menuitem/button triggering the call part of the angular app.
If that's not feasible, there is not really an established best practice.
Best you can to is trigger the action using click, or setting some value
and then kick off the angular digest cycle.
Something like this will do:
angular.element(document.querySelector("[ng-app]")).scope().$apply()
Does this help you a tad?
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.