This repository was archived by the owner on Apr 12, 2024. It is now read-only.
require in directive DDO only causes an error if the DDO also includes a link function #11198
Labels
Milestone
Repro: make a simple app w/this custom directive:
Expected: compile pukes on require not matched
Actual: everything compiles fine
Related SO question is here
As far as I can tell, it's because the getController function is only called from pre and post, which doesn't happen when a link function is not specified in the DDO.
The text was updated successfully, but these errors were encountered: