Moar work

This commit is contained in:
Julius Haertl
2016-08-15 11:29:11 +02:00
parent 0e7a71787f
commit c958f9b37c
25 changed files with 616 additions and 414 deletions

View File

@@ -3,6 +3,7 @@ app.factory('StackService', function(ApiService, $http, $q){
ApiService.call(this, $http, ep, $q);
};
StackService.prototype = angular.copy(ApiService.prototype);
StackService.prototype.dataFiltered = {};
StackService.prototype.fetchAll = function(boardId) {
var deferred = $q.defer();
var self=this;
@@ -50,6 +51,7 @@ app.factory('StackService', function(ApiService, $http, $q){
}
}
};
service = new StackService($http, 'stacks', $q);
return service;
});