title: Angular JS $http promise executes twice
body: <p>I am trying to get data from json with AngularJS and I have a problem with it. Could You tell me why does my very simple angularJS code fragment logs data twice?</p>
  
  <pre><code>   $http.get("../news/news.json").then(function(res){
        console.log(res.data);
     });
  </code></pre>