angularjs - ui-sref fires before loading the dynamic states. How to stop this? -


hi trying load states dynamically through ajax request in app.run() method. in same page, have link ui-sref pointing dynamic state.

while loading page, ui-sref fires before load , says state not found. trick how can overcome this?

don't retrieve states in app.run. bootstrap app after ajax request returned.


Comments