title: net::ERR_CONNECTION_REFUSED ionic
body: <p>I'm developing an application using ionic , I could retrieve data from my webApi server and display them on the navigator with <code>ionic serve</code> but when I try to execute it on the emulator:<code>ionic run android -l -c</code> i get this error :<code>net::ERR_CONNECTION_REFUSED</code> </p>
  
  <p><a href="https://i.stack.imgur.com/yYLCE.png" rel="noreferrer"><img src="https://i.stack.imgur.com/yYLCE.png" alt="enter image description here"></a></p>
  
  <p>What is strange is that the <em>$scope</em> contains the required data and I could log them .</p>