Answer the question
In order to leave comments, you need to log in
Events when hitting a certain state?
Let's say I have a few main states created with UI Route. Further, my task is to animate the elements contained in it when it hits a certain state. Now I can do it by creating $(document).ready.. in the controller and push all sorts of animations there, and I do it imperatively using the same jQuery .. Question: is it correct to use this approach?
Answer the question
In order to leave comments, you need to log in
Absolutely wrong.
https://github.com/angular-ui/ui-router/wiki/Frequ...
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question