AngularJS Tutorial 5 - ng-hide and ng-show

preview_player
Показать описание
In this video we will discuss ng-hide and ng-show directives in Angular with examples

ng-hide and ng-show directives are used to control the visibility of the HTML elements.

ng-hide : When the ngHide expression evaluates to a truthy value then the .ng-hide CSS class is added to the class attribute on the element causing it to become hidden. When falsy, the .ng-hide CSS class is removed from the element causing the element not to appear hidden.

ng-show : When the ngShow expression evaluates to a falsy value then the .ng-hide CSS class is added to the class attribute on the element causing it to become hidden. When truthy, the .ng-hide CSS class is removed from the element causing the element not to appear hidden.

To visit my last video on ng-repeat .Visit this link

Рекомендации по теме
Комментарии
Автор

You have angular so easy to understand . Thanks :)

shaileensehgal
Автор

and also i would like to thank you for sharing your knowledge with us... your Angular
tutorials is helping me so much !!....thank you very much..!!

romimaximus
Автор

Hi nisha ji can u make tutorial on angular material.

venkatnanisethi
Автор

hi how to add bootstrap cdn link in head

siddharthakundarapu
Автор

for some reason my "ng-hide" does not hide the text that i want to..!!

.<body ng-app>

<div class="w3-content">

<h2 ng-hide="off">hide this</h2>

<button class="w3-button w3-black" ng-model="off">Hide</button>

</div>

</body>

romimaximus
Автор

whene I used any IDE IT Display Just Html view not display angular data

amolsonawane
Автор

sb k sb ratta laga kr video bante ka contain ek jesa h ...
sb ne ng-hide and ng-show ko checkbox k sath use kr k dikhaya h

RaviRavi-mjle
Автор

That's why I don't like watching girls's videos, I used the directive but there is no effect fake your video.

suvendubiswal