{"action":"created","issue":{"url":"https://api.github.com/repos/chieffancypants/angular-loading-bar/issues/285","repository_url":"https://api.github.com/repos/chieffancypants/angular-loading-bar","labels_url":"https://api.github.com/repos/chieffancypants/angular-loading-bar/issues/285/labels{/name}","comments_url":"https://api.github.com/repos/chieffancypants/angular-loading-bar/issues/285/comments","events_url":"https://api.github.com/repos/chieffancypants/angular-loading-bar/issues/285/events","html_url":"https://github.com/chieffancypants/angular-loading-bar/pull/285","id":143741795,"number":285,"title":"add option to disable the $http interceptor","user":{"login":"adam187","id":156628,"avatar_url":"https://avatars.githubusercontent.com/u/156628?v=3","gravatar_id":"","url":"https://api.github.com/users/adam187","html_url":"https://github.com/adam187","followers_url":"https://api.github.com/users/adam187/followers","following_url":"https://api.github.com/users/adam187/following{/other_user}","gists_url":"https://api.github.com/users/adam187/gists{/gist_id}","starred_url":"https://api.github.com/users/adam187/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/adam187/subscriptions","organizations_url":"https://api.github.com/users/adam187/orgs","repos_url":"https://api.github.com/users/adam187/repos","events_url":"https://api.github.com/users/adam187/events{/privacy}","received_events_url":"https://api.github.com/users/adam187/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/chieffancypants/angular-loading-bar/labels/enhancement","name":"enhancement","color":"84b6eb"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":7,"created_at":"2016-03-26T19:30:55Z","updated_at":"2016-03-31T17:39:58Z","closed_at":"2016-03-31T17:39:58Z","pull_request":{"url":"https://api.github.com/repos/chieffancypants/angular-loading-bar/pulls/285","html_url":"https://github.com/chieffancypants/angular-loading-bar/pull/285","diff_url":"https://github.com/chieffancypants/angular-loading-bar/pull/285.diff","patch_url":"https://github.com/chieffancypants/angular-loading-bar/pull/285.patch"},"body":"Hi,\r\n\r\nFirst of all, this library is awesome but i had to use it as stand alone loading library for switching between states so i had to add option to disable default $http interceptor. \r\n\r\nWith this option disabled you can use this library as regular loading lib with explicitly calling `cfpLoadingBar.start()`, `cfpLoadingBar.inc()`,  `cfpLoadingBar.complete()` when needed without it to trigger automatically with `$http` promises.\r\n"},"comment":{"url":"https://api.github.com/repos/chieffancypants/angular-loading-bar/issues/comments/204045379","html_url":"https://github.com/chieffancypants/angular-loading-bar/pull/285#issuecomment-204045379","issue_url":"https://api.github.com/repos/chieffancypants/angular-loading-bar/issues/285","id":204045379,"user":{"login":"adam187","id":156628,"avatar_url":"https://avatars.githubusercontent.com/u/156628?v=3","gravatar_id":"","url":"https://api.github.com/users/adam187","html_url":"https://github.com/adam187","followers_url":"https://api.github.com/users/adam187/followers","following_url":"https://api.github.com/users/adam187/following{/other_user}","gists_url":"https://api.github.com/users/adam187/gists{/gist_id}","starred_url":"https://api.github.com/users/adam187/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/adam187/subscriptions","organizations_url":"https://api.github.com/users/adam187/orgs","repos_url":"https://api.github.com/users/adam187/repos","events_url":"https://api.github.com/users/adam187/events{/privacy}","received_events_url":"https://api.github.com/users/adam187/received_events","type":"User","site_admin":false},"created_at":"2016-03-31T17:39:58Z","updated_at":"2016-03-31T17:39:58Z","body":"@chieffancypants Yes, you're right. Sorry I missed it in docs where it's explained that you can use `cfp.loadingBar` instead of `angular-loading-bar`. \r\n\r\nSo yes, this PR is unnecessary.\r\n\r\n"}}