1

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

Abdulla Nilam
  • 36,589
  • 17
  • 64
  • 85

0 Answers0