docs update

This commit is contained in:
tmshv committed 2016-02-20 16:49:01 +03:00
1 parent ce2f464520
commit f4bc70cd8b
2 files changed
+15 -2

No files matched your search

+6 -1
View File
@@ -1,6 +1,11 @@
module.exports = function (app) {
app.controller("DocumentsController", function ($scope, docs) {
app.controller("DocumentsController", function ($scope, api, docs) {
$scope.documents = docs.docs;
api.document.awards()
.success(data => {
$scope.awards = data;
});
});
};