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=\
You can't write because both have different meaning see this link ,It's all about expression and template argument.
https://docs.angularjs.org/api/ng/directive/ngSrc
ng-src=template
You can find it in argument
https://docs.angularjs.org/api/ng/directive/ngHide
ng-hide=expression
You can also find it in argument