I was told that using ampersands in angular templates is bad practice since "&" is reserved in HTML, but I see it in the examples for angular all the time.
To be clear, it would be safe to write
<div ng-show="bool1 && bool2"></div>
in an angular template?
I am not interested to know if it works (this is the case), but if there are any cases where it can cause problems or if it is really discouraged.
source share