uppercase

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

select.SelectController

type in module ng The controller for the <select> directive. This provides support for reading and writing the selected value(s) of the control and also coordinates dynamically added <option> elements, perhaps by an ngRepeat directive.

select

directive in module ng HTML SELECT element with angular data-binding. The select directive is used together with ngModel to provide data-binding between the scope and the <select> control (including setting default values). It also handles dynamic <option> elements, which can be added using the ngRepeat or ngOptions directives. When an item in the <select> menu is selected, the value of the selected option will be bound to the model identified by the ngModel directive. Wi

textarea

directive in module ng HTML textarea element control with angular data-binding. The data-binding and validation properties of this element are exactly the same as those of the input element. Directive Info This directive executes at priority level 0. Usage as element: <textarea ng-model="string" [name="string"] [required="string"] [ng-required="string"] [ng-minlength="number"] [ng-maxlength="number"] [ng-pattern="string"] [ng-change="string"] [ng-trim="boolean"]>

ngValue

directive in module ng Binds the given expression to the value of <option> or input[radio], so that when the element is selected, the ngModel of that element is set to the bound value. ngValue is useful when dynamically generating lists of radio buttons using ngRepeat, as shown below. Likewise, ngValue can be used to generate <option> elements for the select element. In that case however, only strings are supported for the valueattribute, so the resulting ngModel will always be

number

filter in module ng Formats a number as text. If the input is null or undefined, it will just be returned. If the input is infinite (Infinity or -Infinity), the Infinity symbol 'â' or '-â' is returned, respectively. If the input is not a number an empty string is returned. Usage In HTML Template Binding {{ number_expression | number : fractionSize}} In JavaScript $filter('number')(number, fractionSize) Arguments Param Type Details number numberstring Number to format. fractionSize

script

directive in module ng Load the content of a <script> element into $templateCache, so that the template can be used by ngInclude, ngView, or directives. The type of the <script> element must be specified as text/ng-template, and a cache name for the template must be assigned through the element's id, which can then be used as a directive's templateUrl. Directive Info This directive executes at priority level 0. Usage as element: <script type="string" id="string"> .

orderBy

filter in module ng Orders a specified array by the expression predicate. It is ordered alphabetically for strings and numerically for numbers. Note: if you notice numbers are not being sorted as expected, make sure they are actually being saved as numbers and not strings. Array-like values (e.g. NodeLists, jQuery objects, TypedArrays, Strings, etc) are also supported. Usage In HTML Template Binding {{ orderBy_expression | orderBy : expression : reverse}} In JavaScript $filter('orderBy')

ngTransclude

directive in module ng Directive that marks the insertion point for the transcluded DOM of the nearest parent directive that uses transclusion. You can specify that you want to insert a named transclusion slot, instead of the default slot, by providing the slot name as the value of the ng-transclude or ng-transclude-slot attribute. If the transcluded content is not empty (i.e. contains one or more DOM nodes, including whitespace text nodes), any existing content of this element will be rem

ngTouch.ngSwipeRight

directive in module ngTouch Specify custom behavior when an element is swiped to the right on a touchscreen device. A rightward swipe is a quick, left-to-right slide of the finger. Though ngSwipeRight is designed for touch-based devices, it will work with a mouse click and drag too. Requires the ngTouch module to be installed. Directive Info This directive executes at priority level 0. Usage as attribute: <ANY ng-swipe-right="expression"> ... </ANY> Arguments Param Type