angularjs - Go to grandparent state with ui-router -


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

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

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

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

Comments

Popular posts from this blog

apache - 504 Gateway Time-out The server didn't respond in time. How to fix it? -

c# - .net WebSocket: CloseOutputAsync vs CloseAsync -

c++ - How to properly scale qgroupbox title with stylesheet for high resolution display? -