Skip to content

Commit

Permalink
Elimnate unused $http provider.
Browse files Browse the repository at this point in the history
  • Loading branch information
mtho11 committed Sep 10, 2015
1 parent 205792f commit fbc3c26
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/rest/hawkRest-metric-factory.ts
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ module hawkularRest {
return this;
};

this.$get = ['$resource', '$location', '$http', function($resource, $location) {
this.$get = ['$resource', '$location', function($resource, $location) {
// If available, used pre-configured values, otherwise use values from current browser location of fallback to
// defaults
this.setProtocol(this.protocol || $location.protocol() || 'http');
Expand Down

0 comments on commit fbc3c26

Please sign in to comment.