ngMessages.ngMessage

directive in module ngMessages ngMessage is a directive with the purpose to show and hide a particular message. For ngMessage to operate, a parent ngMessages directive on a parent DOM element must be situated since it determines which messages are visible based on the state of the provided key/value map that ngMessages listens on. More information about using ngMessage can be found in the ngMessages module documentation. Directive Info This directive creates new scope. This directive exe

ngMessages.directive

Name Description ngMessages ngMessages is a directive that is designed to show and hide messages based on the state of a key/value object that it listens on. The directive itself complements error message reporting with the ngModel $error object (which stores a key/value state of validation errors). ngMessagesInclude ngMessagesInclude is a directive with the purpose to import existing ngMessage template code from a remote template and place the downloaded template code into the exact spot th

ngMessages

Installation First include angular-messages.js in your HTML: <script src="angular.js"> <script src="angular-messages.js"> You can download this file from the following places: Google CDN e.g. //ajax.googleapis.com/ajax/libs/angularjs/X.Y.Z/angular-messages.js Bower e.g. bower install angular-messages@X.Y.Z code.angularjs.org e.g. "//code.angularjs.org/X.Y.Z/angular-messages.js" where X.Y.Z is the AngularJS version you are running. Then load the module in your application by

ngMessageFormat.service

Name Description $$messageFormat Angular internal service to recognize MessageFormat extensions in interpolation expressions. For more information, see: https://docs.google.com/a/google.com/document/d/1pbtW2yvtmFBikfRrJd8VAsabiFkKezmYZ_PbgdjQOVU/edit

ngMessageFormat.$$messageFormat

service in module ngMessageFormat Angular internal service to recognize MessageFormat extensions in interpolation expressions. For more information, see: https://docs.google.com/a/google.com/document/d/1pbtW2yvtmFBikfRrJd8VAsabiFkKezmYZ_PbgdjQOVU/edit

ngMessageFormat

Installation First include angular-message-format.js in your HTML: <script src="angular.js"> <script src="angular-message-format.js"> You can download this file from the following places: Google CDN e.g. //ajax.googleapis.com/ajax/libs/angularjs/X.Y.Z/angular-message-format.js Bower e.g. bower install angular-message-format@X.Y.Z code.angularjs.org e.g. "//code.angularjs.org/X.Y.Z/angular-message-format.js" where X.Y.Z is the AngularJS version you are running. Then load the

ngMaxlength

directive in module ng ngMaxlength adds the maxlength validator to ngModel. It is most often used for text-based input controls, but can also be applied to custom text-based controls. The validator sets the maxlength error key if the ngModel.$viewValue is longer than the integer obtained by evaluating the Angular expression given in the ngMaxlength attribute value. Note: This directive is also added when the plain maxlength attribute is used, with two differences: ngMaxlength does not se

ngList

directive in module ng Text input that converts between a delimited string and an array of strings. The default delimiter is a comma followed by a space - equivalent to ng-list=", ". You can specify a custom delimiter as the value of the ngList attribute - for example, ng-list=" | ". The behaviour of the directive is affected by the use of the ngTrim attribute. If ngTrim is set to "false" then whitespace around both the separator and each list item is respected. This implies that the user

ngKeyup

directive in module ng Specify custom behavior on keyup event. Directive Info This directive executes at priority level 0. Usage as attribute: <ANY ng-keyup="expression"> ... </ANY> Arguments Param Type Details ngKeyup expression Expression to evaluate upon keyup. (Event object is available as $event and can be interrogated for keyCode, altKey, etc.)

ngKeypress

directive in module ng Specify custom behavior on keypress event. Directive Info This directive executes at priority level 0. Usage as attribute: <ANY ng-keypress="expression"> ... </ANY> Arguments Param Type Details ngKeypress expression Expression to evaluate upon keypress. (Event object is available as $event and can be interrogated for keyCode, altKey, etc.)