Hi Amol,

ngShow and ngHide are not part of Angular Version 2 and up. So adding that 
to elements will not do anything. Have a look at *ngIf  
<https://angular.io/guide/structural-directives>or use the the hidden 
attriibute that is on most HTML elements.
like:

<div [hidden]='MustHide === true">blah</div>


Be aware that the hidden attribute doesn't work on all elements, and not in 
all situations.

Regards
Sander

-- 
You received this message because you are subscribed to the Google Groups 
"Angular and AngularJS discussion" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to angular+unsubscr...@googlegroups.com.
To post to this group, send email to angular@googlegroups.com.
Visit this group at https://groups.google.com/group/angular.
For more options, visit https://groups.google.com/d/optout.

Reply via email to