-
Notifications
You must be signed in to change notification settings - Fork 115
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Directive should not create a new scope #65
base: master
Are you sure you want to change the base?
Conversation
👍 |
Are there plans to roll this under a version number? I've had to do nasty things with npm as this isn't commit is under HEAD rather than a tagged version. |
👍 |
src/angular-resizable.js
Outdated
@@ -1,5 +1,5 @@ | |||
angular.module('angularResizable', []) | |||
.directive('resizable', function() { | |||
.directive('resizable', function($parse) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hi, consider an array literal here to include the '$parse' dependency as a string. Minifying the js can/will end up in the injector not being able to resolve the dependency. Thanks!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Besides, not adding the dependency as string also makes it break if using strict mode.
I applied @laura-lungoci remark and rebased on the master branch. |
👍 |
This should fix the follwing issue:
Error: [$compile:multidir] Multiple directives asking for new/isolated scope #49