Angular JS Demo 2
ng-show and ng-hide
by queryj
HTML
<div ng-app>
<input type="checkbox" ng-model="checked" />Show it
<p ng-show="checked">some information</p>
<p ng-hide="!checked">some information</p>
</div>
by queryj
<div ng-app>
<input type="checkbox" ng-model="checked" />Show it
<p ng-show="checked">some information</p>
<p ng-hide="!checked">some information</p>
</div>