title: promise is used with both $http and $q async call. when is preferable to use promise either with $http or $q
body: <p>I am trying to understand the scenario either  to use $q or $http for a asynchronous  call and handling result set using promise ?</p>
  
  <p>when can we use deferred API?</p>