From the Docs:
Embedding interpolation markup inside expressions
Note: AngularJS directive attributes take either expressions or interpolation markup with embedded expressions. It is considered bad practice to embed interpolation markup inside an expression:
I am looking for a well written canonical answer to which I can point readers.
From the Docs:
Directives which expect Boolean values won't work:
When the expression evaluates to the Boolean value
false
, interpolation will return the string"false"
. Strings that have length greater than zero are truthy. Theng-hide
directive will always hide and never show the input element.CORRECT