title: Angular $http.get automatically convert int to string
body: <p>My API endpoint returns this JSON and I can verify it in the browser</p>
  
  <pre><code>[1, 4686, 4691, 4696, 4]
  </code></pre>
  
  <p>My problem is when I run $http.get in Angular like this</p>
  
  <pre><code>return $http.get('url').then(function(response) {
  //do some stuff here
  });
  </code></pre>
  
  <p>My response becomes this</p>
  
  <pre><code>["1", "4686", "4691", "4696", "4"]
  </code></pre>
  
  <p>I could overcome this problem by running a loop and parseInt each element but I want to avoid using too many loops in my script. What is the cause of this and how to fix it?</p>
  
  <p>PS: I have cleared all cache and tried with Chrome Incognito but still not helpful.</p>