I got confuse which notation we should use to input variables into attributes.
Do we use variable or ‘{ { variable } }’ .
So I decided to make my own list so I don’t forget.
#Use Variable
- ng-click
- ng-repeat
- ng-show
- ng-hide
- ng-class
- ng-if
- ng-checked
- single attribute
#Use ‘{ { variable } }’ - href
- ng-src
- elements
- ng-style
- ng-disabled
- dynamic attribute