My question might be stupid but I am having a hard time trying to determine whether use {} or {{}} or nothing in my HTML with AngularJS.
I came accross the following :
1/ng-src = "{{ mysource }}"
2/ ng-class = "{ active:tab===2 }"
3/ ng-repeat = "foo in foos"
I think I understand that 3/ is an instruction not a text replacement as in 1/ but why use simple brackets in 2/?
Thanks a lot in advance for your help!
Burger