Trying to add $ionicLoading in all $http requests

Found a better solution here The interceptors of $httpProvider doesn't work for native app?
and here http://learn.ionicframework.com/formulas/loading-screen-with-interceptors/