title: ui-router onEnter() not being called from $state.go() within Ionic app
body: <p>When using ui-router's <code>$state.go()</code> in my <strong>Ionic</strong> app, the <code>onEnter</code> method is not called.</p>
  
  <p>The states would be transitioning from <code>tab.settings</code> to <code>tab.queries</code>. The state transitions fine. How do I get the <code>onEnter</code> method to be called from <code>$state.go()</code> call? Does <code>onEnter</code> not get called when entering child views?</p>
  
  <p><strong>Route</strong></p>
  
  <pre><code>$stateProvider
  .state('tab', {
      url: "/tab",
      abstract: true,
      templateUrl: "templates/tabs.html"
  })
  .state('tab.queries', {
      url: '/queries',
      views: {
          'tab-queries': {
              templateUrl: 'templates/tab-queries.html',
              controller: 'QueryCtrl',
              onEnter: function() {
                  activate();
              }
          }
      }
  })
  .state('tab.settings', {
      url: '/settings',
      views: {
          'tab-settings': {
              templateUrl: 'templates/tab-settings.html',
              controller: 'SettingsCtrl'
          }
      }
  });
  </code></pre>
  
  <p><strong>SettingsCtrl</strong></p>
  
  <pre><code>vm.removeAll = function() {
      Data.removeAll().then(function() {
          $state.go('tab.queries');
      });
  };
  </code></pre>
  
  <p><strong>QueryCtrl</strong></p>
  
  <pre><code>function activate() {
    console.log('Activating');
  }
  </code></pre>