angular-ui / ui-router

The de-facto solution to flexible routing with nested views in AngularJS
http://ui-router.github.io/
MIT License
13.56k stars 3.01k forks source link

prevent child controller from parent controller . #3719

Closed hemrajlabaniya07 closed 4 years ago

hemrajlabaniya07 commented 5 years ago

I am using ui-router in my angularJs app . i have 3 states.

  1. login
  2. app (abstract state)
  3. app.users. when i go from login to app.users . it calls app's controller (that is fine) after that it calls app.users's controller . i want to call stop the calling of app.users's controller from the app's controller (on checking a condition). please let me know if there is something that can help me . thanks
stale[bot] commented 4 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs.

This does not mean that the issue is invalid. Valid issues may be reopened.

Thank you for your contributions.