angularjs - Go to grandparent state with ui-router -


ui-router के साथ मैं $ state.go ('^') का उपयोग कर सकता हूं इसे पूर्ण पथ निर्दिष्ट करने के बावजूद पैरेंट राज्य पर जाने के लिए क्या दादा-दादी के लिए जाने के लिए समान तरीके हैं (मेरे माता-पिता की स्थिति अमूर्त है)?

में मैं केवल माता-पिता के लिए ^ देख सकता हूं, लेकिन शायद किसी के पास इस के लिए अच्छा समाधान हो सकता है? / P>

आप grandparent स्थिति में

  $ state.go के साथ संक्रमण कर सकते हैं ('^। ^')  

Comments

Popular posts from this blog

HTML/CSS - Automatically set height width from background image? -

php - Mysql Show Process - Sleep Commands and what to do -

c - What is the address of buf (the local variable in the main function)? -