Fix log error
There was a missing dependency on config. Change-Id: I3cc6afb4d266510618fae89a348a810e41278ef9
This commit is contained in:
parent
55ef2d49c6
commit
2dc3322d88
|
@ -4,4 +4,5 @@ node_modules
|
|||
coverage
|
||||
doc
|
||||
app/vendor-js
|
||||
app/js/templates.js
|
||||
gulp
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
var servicesModule = require('./_index.js');
|
||||
|
||||
function ConfigService($http, $q) {
|
||||
function ConfigService($http, $log, $q) {
|
||||
var service = {};
|
||||
|
||||
service.get = function() {
|
||||
|
@ -12,7 +12,7 @@ function ConfigService($http, $q) {
|
|||
url: 'config.json',
|
||||
method: 'GET'
|
||||
}).then(function(response) {
|
||||
log(response);
|
||||
$log.log(response);
|
||||
resolve(response.data);
|
||||
}, function(reason) {
|
||||
reject(reason);
|
||||
|
|
Loading…
Reference in New Issue