Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 8 additions & 9 deletions app/js/directives.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
angular.module('app.directives', [])

// Main directive, that just publish a controller
.directive('frangTree', function ($parse, $animate) {
.directive('frangTree', ['$parse', '$animate', function ($parse, $animate) {
return {
restrict: 'EA',
controller: function($scope, $element) {
Expand All @@ -13,9 +13,9 @@ angular.module('app.directives', [])
};
}
};
})
}])

.directive('frangTreeRepeat', function ($parse, $animate) {
.directive('frangTreeRepeat', ['$parse', '$animate', function ($parse, $animate) {

// ---------- Some necessary internal functions from angular.js ----------

Expand Down Expand Up @@ -367,7 +367,7 @@ angular.module('app.directives', [])

}
};
})
}])

.directive('frangTreeInsertChildren', function () {
return {
Expand All @@ -382,7 +382,7 @@ angular.module('app.directives', [])
};
})

.directive('frangTreeDrag', function($parse) {
.directive('frangTreeDrag', ['$parse', function($parse) {
return {
restrict: 'A',
require: '^frangTree',
Expand Down Expand Up @@ -414,9 +414,9 @@ angular.module('app.directives', [])
);
}
};
})
}])

.directive('frangTreeDrop', function($parse) {
.directive('frangTreeDrop', ['$parse', function($parse) {
return {
restrict: 'A',
require: '^frangTree',
Expand Down Expand Up @@ -480,5 +480,4 @@ angular.module('app.directives', [])
);
}
}
});

}]);