Skip to content Skip to sidebar Skip to footer

How To Navigate From A Login State To An Abstract Dashboard State?

https://plnkr.co/edit/ByatrCzdUJfAV3oc8XPq?p=preview ^ On line 10, if you put back in the abstract:true key you will see the tags view appear in this plnkr app. However my problem

Solution 1:

The behavior is right. You cannot transit to abstract state. Look at your example from plunker.

var dash = {
  name: 'dash',
  url: '/dash?ticker'var tags = {
  name: 'dash.tags',
  url: '?ticker',

You have an abstract state "dash" and you have a child state "dash.tags" which is not abstract. So you can transit only to child state.

In your app, you try transiting to an abstract state which is not possible. Abstract states are used if you want to have some basic state with common behavior (parent state). You cannot transit to such states but they can have some basic template, resolve functions... So, you have to remove abstract flag or create a child state.

Post a Comment for "How To Navigate From A Login State To An Abstract Dashboard State?"