AngularJS loading interceptor