You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Apr 12, 2024. It is now read-only.
This bit me today. Assume having this directive:
And controller:
The app will fail with:
However, removing
priorityin the directive or set it to0, the error disappears. Plunker is here: http://plnkr.co/edit/nElgQQklbiLlD9vuvRov?p=preview.This is caused by this line: https://github.com/angular/angular.js/blob/master/src/ng/compile.js#L802
Is this intentional or a bug? If it's intentional, shouldn't it fail regardless of directives' priority? I can submit a PR if this is a bug.