I want to conditionally add the attribute tm1-date-option
because it cannot be used together with tm1-multi-line
:
<tm1-ui-dbr
...
ng-attr-tm1-date-option="{{c.Date}}"
The above code should only create the attribute if c.Date
is defined.
But I get the error message:
libs.js?v=1.2.0:29341 Error: [$parse:syntax] Syntax Error: Token ‘{’ invalid key at column 2 of the expression [{{c.Date}}] starting at [{c.Date}}].