lowercase

filter in module ng Converts string to lowercase. Usage In HTML Template Binding {{ lowercase_expression | lowercase}} In JavaScript $filter('lowercase')()

limitTo

filter in module ng Creates a new array or string containing only a specified number of elements. The elements are taken from either the beginning or the end of the source array, string or number, as specified by the value and sign (positive or negative) of limit. If a number is used as input, it is converted to a string. Usage In HTML Template Binding {{ limitTo_expression | limitTo : limit : begin}} In JavaScript $filter('limitTo')(input, limit, begin) Arguments Param Type Details inp

json

filter in module ng Allows you to convert a JavaScript object into JSON string. This filter is mostly useful for debugging. When using the double curly {{value}} notation the binding is automatically converted to JSON. Usage In HTML Template Binding {{ json_expression | json : spacing}} In JavaScript $filter('json')(object, spacing) Arguments Param Type Details object * Any JavaScript object (including arrays and primitive types) to filter. spacing (optional) number The numbe

input[week]

input in module ng Input with week-of-the-year validation and transformation to Date. In browsers that do not yet support the HTML5 week input, a text element will be used. In that case, the text must be entered in a valid ISO-8601 week format (yyyy-W##), for example: 2013-W02. The model must always be a Date object, otherwise Angular will throw an error. Invalid Date objects (dates whose getTime() is NaN) will be rendered as an empty string. The timezone to be used to read/write the Date

input[url]

input in module ng Text input with URL validation. Sets the url validation error key if the content is not a valid URL. Note: input[url] uses a regex to validate urls that is derived from the regex used in Chromium. If you need stricter validation, you can use ng-pattern or modify the built-in validators (see the Forms guide) Directive Info This directive executes at priority level 0. Usage <input type="url" ng-model="string" [name="string"] [required="string"]

input[text]

input in module ng Standard HTML text input with angular data binding, inherited by most of the input elements. Directive Info This directive executes at priority level 0. Usage <input type="text" ng-model="string" [name="string"] [required="string"] [ng-required="string"] [ng-minlength="number"] [ng-maxlength="number"] [pattern="string"] [ng-pattern="string"] [ng-change="string"] [ng-trim="boolean"]> Arguments P

input[time]

input in module ng Input with time validation and transformation. In browsers that do not yet support the HTML5 time input, a text element will be used. In that case, the text must be entered in a valid ISO-8601 local time format (HH:mm:ss), for example: 14:57:00. Model must be a Date object. This binding will always output a Date object to the model of January 1, 1970, or local date new Date(1970, 0, 1, HH, mm, ss). The model must always be a Date object, otherwise Angular will throw an e

input[month]

input in module ng Input with month validation and transformation. In browsers that do not yet support the HTML5 month input, a text element will be used. In that case, the text must be entered in a valid ISO-8601 month format (yyyy-MM), for example: 2009-01. The model must always be a Date object, otherwise Angular will throw an error. Invalid Date objects (dates whose getTime() is NaN) will be rendered as an empty string. If the model is not set to the first of the month, the next view t

input[email]

input in module ng Text input with email validation. Sets the email validation error key if not a valid email address. Note: input[email] uses a regex to validate email addresses that is derived from the regex used in Chromium. If you need stricter validation (e.g. requiring a top-level domain), you can use ng-pattern or modify the built-in validators (see the Forms guide) Directive Info This directive executes at priority level 0. Usage <input type="email" ng-model="string"

input[number]

input in module ng Text input with number validation and transformation. Sets the number validation error if not a valid number. The model must always be of type number otherwise Angular will throw an error. Be aware that a string containing a number is not enough. See the numfmt error docs for more information and an example of how to convert your model if necessary. Issues with HTML5 constraint validation In browsers that follow the HTML5 specification, input[number] does not work as e