A simple angularjs loader using $http Interceptor