title: ionic-angular multiple nested and abstract states
body: <p>I have been working on an application which requires 2 abstract states with nested states, below is the sample configuration</p>
  
  <pre><code>$stateProvider
   .state('app', {
    url: "/app",
    abstract: true,
    templateUrl: "templates/menu.html",
    controller: "AppController"
   })
   .state('app.screenList', {
    url: "/app/screenList",
    views: {
     'menuContent': {
     templateUrl: "templates/screenList.html",
     controller: "ScreenListController"
     }
    }
   })
   .state('app.screen1', {
    url: "/app/screen1",
    views: {
     'menuContent': {
     templateUrl: "templates/screen1.html",
     controller: "Screen1Controller"
     }
    }
   })
   .state('app.subapp', {
    url: "/app/subapp",
    abstract: true,
    views: {
     'menuContent': {
     templateUrl: "templates/subapp.html",
     controller: "SubAppController"
     }
    }
   })
  .state('app.subapp.screen1', {
    url: "/app/subapp/screen1",
    views: {
     'subappContent': {
     templateUrl: "templates/subappscreen1.html",
     controller: "SubAppScreen1Controller"
     }
    }
   })
  </code></pre>
  
  <p>The <code>screenList</code> state displays list of screens to chose. When following navigation happens, everything works fine</p>
  
  <p><code>screenList &gt; screen1</code> Press back key and then <code>subapp.screen1</code></p>
  
  <p>Pressing back at this stage works.</p>
  
  <p>Interestingly, when I try to perform following navigation the back stops to respond and nothing happens.</p>
  
  <p><code>screenList &gt; screen1</code> Press back key and then <code>subapp.screen1</code> Press back key and then again <code>subapp.screen1</code> (At this stage pressing back key has no effect.  Even the app doesn't exit.)</p>
  
  <p>I am totally clueless as why it is happening, the only conclusion I arrived at is, if I consecutively try to get into the <code>subapp.screen1</code>, the problem arises. If I keep switching between <code>subapp.screen1</code> and <code>screen1</code>, everything works properly.</p>
  
  <p>I want the back key should respond no matter how the state has been switched.</p>