Show or Hide HTML elements based on Datepicker using ng-if directive

Set focus on the textbox below, which says Select a date. It will show a Datepicker. Select a date to show an <input /> just below the datepicker. When you remove the date, it will automatically remove the input box.

(ng-if expression is true)

Go back to the Tutorial
More interesting and interactive Demos