title: Consecutive calls to console.log produce inconsistent results
body: <p>Ok, I'm completely dumbfounded by this. (and I might be overlooking something obvious but...)</p>
  <p>I have 2 consecutive calls to console.log. There isn't anything else between them</p>
  <pre><code>console.log($state);
  console.log($state.current);
  </code></pre>
  <p>and here's an image of the produced results</p>
  <p><img src="https://i.stack.imgur.com/r01Xw.png" alt="Console.log screenshot" /></p>
  <p>Why do the 2 produce different &quot;current&quot; objects? How can this happen?</p>
  <hr />
  <h1>Context:</h1>
  <p>Those calls are made inside an ajax call while resolving a route dependencies. If you need more code or context let me know.</p>
  <p>Confirmed the same issue in Chrome and Firefox</p>
  <p><strong>Ajax call and wrapper function (no modifications whatsoever)</strong></p>
  <pre><code>normaCtrl.publicNorma = ['$http', '$state', '$stateParams', 'baseUrl', function ($http, $state, $stateParams, baseUrl)
  {
      var id = $stateParams.id;
      return $http.get(baseUrl + &quot;api/public/norma/&quot; + id).then(
          function (response) {
              console.log($state);
              console.log($state.current);
              console.log($state.current.title);
              return response.data;
          }
      );
  }];
  </code></pre>
  <hr />
  <h1>Possible related questions</h1>
  <ul>
  <li><p><a href="https://stackoverflow.com/questions/16571003/javascript-console-log-displays-different-values-on-same-object?rq=1">javascript console.log displays different values on same object</a></p>
  </li>
  <li><p><a href="https://stackoverflow.com/questions/20910295/angularjs-weird-console-log-behavior-with-async-chrome-storage-local-get?rq=1">AngularJS: weird console.log behavior with async chrome.storage.local.get()</a></p>
  </li>
  </ul>