Could someone explain this strange angularjs behaviour CODE HTML
<button
ng-show="!$root.commandsHide"
>My Button</button>
{{$root.commandsHide}}
OPTPUT contains:
"My Button" and true
Thanks in advance
Could someone explain this strange angularjs behaviour CODE HTML
<button
ng-show="!$root.commandsHide"
>My Button</button>
{{$root.commandsHide}}
OPTPUT contains:
"My Button" and true
Thanks in advance