-
-
Save Rakonda/32a2f53f20343672cdd470a7c93e2025 to your computer and use it in GitHub Desktop.
Angular.js directives sorted by priority
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
I've compiled a list of angular directives according to their priorities (from most priority to lesser priority). | |
Also, terminal property is included for each directive that asserts it | |
*/ | |
ng-switch 1200 | |
ng-repeat 1000 terminal | |
ng-if 600 terminal | |
ng-controller 500 | |
ng-init 450 | |
ng-include 400 terminal | |
ng-list 100 | |
ng-value 100 | |
select 100 | |
disabled 100 | |
checked 100 | |
readonly 100 | |
selected 100 | |
open 100 | |
ng-pattern 100 | |
href 99 | |
src 99 | |
srcSet 99 | |
ng-model 1 | |
ng-options - terminal | |
script - terminal |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment