Hi everyone, I am trying to create an Interceptor to all my
$http requests to show and hide the
$ionicLoading cause I don’t want to do this manually on all my requests. I tried using
$httpProvivider.interceptors but when I tried I had problem with cyclic dependency, somebody already try to do this and have this problem?
Circular dependency found: $http <- $templateRequest <- $compile <- $ionicTemplateLoader <- $ionicLoading <- $http <- $templateFactory <- $view <- $state