This repository was archived by the owner on Apr 12, 2024. It is now read-only.
This repository was archived by the owner on Apr 12, 2024. It is now read-only.
On a directive, using controller, templateUrl, and pre/post link causes an error. #3493
Closed
Description
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]"
Metadata
Metadata
Assignees
Labels
No labels