This repository has been archived by the owner on Apr 12, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 27.5k
On a directive, using controller, templateUrl, and pre/post link causes an error. #3493
Comments
looks same with #3482. |
IgorMinar
pushed a commit
to IgorMinar/angular.js
that referenced
this issue
Aug 10, 2013
This fixes regression introduced by angular#3514 (5c56011) - this commit is being reverted here and a better fix is included. The regression caused the controller to be instantiated before the isolate scope was initialized. Closes angular#3493 Closes angular#3482 Closes angular#3537
chirayuk
added a commit
to chirayuk/angular.js
that referenced
this issue
Aug 21, 2013
This fixes regression introduced by angular#3514 (9c51d50) - this commit is being reverted here and a better fix is included. The regression caused the controller to be instantiated before the isolate scope was initialized. Closes angular#3493 Closes angular#3482 Closes angular#3537 Closes angular#3540
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
When creating a directive that has a controller, a templateUrl, and a compile function that returns a linking pre/post pair, an error is thrown.
The error does not occur if using template instead of templateUrl, if you use a single (post) link function, or if you omit the controller.
The error is "No controller: [directive name]"
http://jsbin.com/azomeh/4/edit
The text was updated successfully, but these errors were encountered: