input [email] (directive in module ng )

Description

Text input with email validation. Sets the email validation error key if not a valid email address.

Usage

<input type="email"
       ng-model="{string}"
       [name="{string}"]
       [required]
       [ng-required="{string}"]
       [ng-minlength="{number}"]
       [ng-maxlength="{number}"]
       [ng-pattern="{string}"]>

Parameters

Example

Source







Demo