Fix log error

There was a missing dependency on config.

Change-Id: I3cc6afb4d266510618fae89a348a810e41278ef9
This commit is contained in:
Glauco Oliveira 2015-10-20 12:55:07 -02:00
parent 55ef2d49c6
commit 2dc3322d88
2 changed files with 3 additions and 2 deletions

View File

@ -4,4 +4,5 @@ node_modules
coverage
doc
app/vendor-js
app/js/templates.js
gulp

View File

@ -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);