Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- (function () {
- 'use strict';
- function TasksCtrl($scope) {
- // Events from toggle button
- $scope.$on('toggleRight', function () {
- Tasks
- .all(locationId, taskboardId)
- .then(function(result){assignTasks(result,'recent')});
- });
- $scope.$on('toggleLeft', function () {
- Tasks
- .all(locationId, taskboardId)
- .then(assignTasks);
- });
- }
- })();
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement