angular.directive.ng:hide

Work in Progress This page is currently being revised. It might be incomplete or contain inaccuracies.

Description

The ng:show and ng:hide allows you to show or hide a portion of the HTML conditionally.

Dependencies

Usage

<ANY ng:hide="expression">
   ...
</ANY>

Parameters

Example

Click me: <input type="checkbox" name="checked"><br/> Show: <span ng:show="checked">I show up when you checkbox is checked?</span> <br/> Hide: <span ng:hide="checked">I hide when you checkbox is checked?</span>