Skip to content

Commit

Permalink
Directive attributes passed using array notation
Browse files Browse the repository at this point in the history
  • Loading branch information
Leward committed Jun 25, 2017
1 parent 78c7699 commit 86e643c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/angular-resizable.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
angular.module('angularResizable', [])
.directive('resizable', function($parse) {
.directive('resizable', ['$parse', function($parse) {
var toCall;
function throttle(fun) {
if (toCall === undefined) {
Expand Down Expand Up @@ -165,4 +165,4 @@ angular.module('angularResizable', [])
});
}
};
});
}]);

0 comments on commit 86e643c

Please sign in to comment.