Spinner directive based on $http interceptor