In angular sometimes i have seen curly brackets but some times not.i search a lot but i couldn't find correct question
with curly bracket
ng-src="{{imageSrc}}
without curly bracket
ng-hide="imageSrc"
what i'm asking is why we cannot write ng-hide
as
ng-hide="{{imageSrc}} // doesn't work anyway
why there is 2 different syntax for src
and hide
?