title: how to inject $http service on state change event in angular js?
body: <p>I am using Ui-Route in angular js, and I want to call <code>$http</code> service on every state change. When I inject <code>$http</code> service in statechange event it gives an error of circular dependency or even I inject in interceptor the same error is showing. Please help me with this.</p>
  
  <p>Thank you</p>