docs(ngHide): corrected logic in example

Closes #7436