Skip to content

Commit 564e8a0

Browse files
committed
added log
1 parent f241067 commit 564e8a0

3 files changed

Lines changed: 6 additions & 1 deletion

File tree

dist/mangular.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@
2121
$log.info('--- Featching category end ---');
2222
return Restangular.one('category/' + id).customGET();
2323
}
24+
$log.info('--- Categories service end ---');
2425
}
2526
})();
2627

dist/mangular.min.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/categories.service.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,15 +22,19 @@
2222
$log.info('--- Featching categories start ---');
2323
$log.info('Featching categories:');
2424
$log.info('--- Featching categories end ---');
25+
2526
return Restangular.all('categories').customGET();
2627
}
2728

2829
function getCategory(id) {
2930
$log.info('--- Featching category start ---');
3031
$log.info('--- Featching category ' + id + ' ---');
3132
$log.info('--- Featching category end ---');
33+
3234
return Restangular.one('category/' + id).customGET();
3335
}
3436

37+
$log.info('--- Categories service end ---');
38+
3539
}
3640
})();

0 commit comments

Comments
 (0)