My application calls $HTTP many times like this:
this.$http({ method: this.method, url: this.url })
The this.url is alw
I found a alternative solution instead of tag: written in coffeescript
$httpProvider.interceptors.push ($q)-> 'request': (config)-> if config.url.indexOf('/api') is 0 config.url = BASE_URL+config.url config