fix(progressButtons): fix losing dependencies

pull/3/head
alex 2016-01-21 18:04:34 +03:00
parent b19ad119e6
commit 17ce71f065
2 changed files with 2 additions and 1 deletions

View File

@ -11,6 +11,7 @@ angular.module('BlurAdmin', [
"xeditable", "xeditable",
'ui.slimscroll', 'ui.slimscroll',
'ngJsTree', 'ngJsTree',
'angular-progress-button-styles',
'BlurAdmin.theme', 'BlurAdmin.theme',
'BlurAdmin.pages', 'BlurAdmin.pages',

View File

@ -9,7 +9,7 @@
.controller('ButtonPageCtrl', ButtonPageCtrl); .controller('ButtonPageCtrl', ButtonPageCtrl);
/** @ngInject */ /** @ngInject */
function ButtonPageCtrl($scope) { function ButtonPageCtrl($scope, $timeout) {
$scope.progressFunction = function() { $scope.progressFunction = function() {
return $timeout(function() {}, 3000); return $timeout(function() {}, 3000);
}; };