WEB DEVELOPER SITE
HTMLCSSJAVASCRIPTSQLPHPBOOTSTRAPJQUERYANGULARXML
 

AngularJS References


AngularJS Directives

Directive Description
ng-app Defines the root component of an application.
ng-bind Binds the substance of a HTML component to application data.
ng-tie html Binds the innerHTML of a HTML component to application information, and furthermore expels unsafe code from the HTML string.
ng-tie template Specifies that the content substance ought to be supplanted with a template.
ng-blur Specifies a conduct on haze events.
ng-change Specifies an articulation to assess when content is being changed by the user.
ng-checked Specifies if a component is checked or not.
ng-class Specifies CSS classes on HTML elements.
ng-class-even Same as ng-class, however will just produce results on even rows.
ng-class-odd Same as ng-class, however will just produce results on odd rows.
ng-click Specifies an articulation to assess when a component is being clicked.
ng-cloak Prevents glinting when your application is being loaded.
ng-controller Defines the controller object for an application.
ng-copy Specifies a conduct on duplicate events.
ng-csp Changes the substance security policy.
ng-cut Specifies a conduct on cut events.
ng-dblclick Specifies a conduct on double tap events.
ng-disabled Specifies if a component is crippled or not.
ng-focus Specifies a conduct on center events.
ng-form Specifies a HTML structure to acquire controls from.
ng-hide Hides or shows HTML elements.
ng-href Specifies a url for the <a> element.
ng-if Removes the HTML component if a condition is false.
ng-include Includes HTML in an application.
ng-init Defines beginning qualities for an application.
ng-jq Specifies that the application must utilize a library, as jQuery.
ng-keydown Specifies a conduct on keydown events.
ng-keypress Specifies a conduct on keypress events.
ng-keyup Specifies a conduct on keyup events.
ng-list Converts content into a rundown (array).
ng-model Binds the estimation of HTML controls to application data.
ng-show options Specifies how refreshes in the model are done.
ng-mousedown Specifies a conduct on mousedown events.
ng-mouseenter Specifies a conduct on mouseenter events.
ng-mouseleave Specifies a conduct on mouseleave events.
ng-mousemove Specifies a conduct on mousemove events.
ng-mouseover Specifies a conduct on mouseover events.
ng-mouseup Specifies a conduct on mouseup events.
ng-non-bindable Specifies that no information restricting can occur in this component, or it's children.
ng-open Specifies the open quality of an element.
ng-options Specifies <options> in a <select> list.
ng-paste Specifies a conduct on glue events.
ng-pluralize Specifies a message to show as indicated by en-us restriction rules.
ng-readonly Specifies the readonly trait of an element.
ng-repeat Defines a layout for every datum in a collection.
ng-required Specifies the required trait of an element.
ng-selected Specifies the chose trait of an element.
ng-show Shows or shrouds HTML elements.
ng-src Specifies the src property for the <img> element.
ng-srcset Specifies the srcset property for the <img> element.
ng-style Specifies the style property for an element.
ng-submit Specifies articulations to keep running on onsubmit events.
ng-switch Specifies a condition that will be utilized to appear/conceal youngster elements.
ng-transclude Specifies a point to embed transcluded elements.
ng-value Specifies the estimation of an info element.

AngularJS Directives on HTML Elements

AngularJS adjusts the default conduct of some HTML elements.

Element Description
a AngularJS adjusts the <a> component's default behaviors.
form AngularJS adjusts the <form> component's default behaviors.
input AngularJS adjusts the <input> component's default behaviors.
script AngularJS adjusts the <script> component's default behaviors.
select AngularJS adjusts the <select> component's default behaviors.
textarea AngularJS adjusts the <textarea> component's default behaviors.

AngularJS Filters

Filter Description
currency Format a number to a cash format.
date Format a date to a predetermined format.
filter Select a subset of things from an array.
json Format an item to a JSON string.
limitTo Limits a cluster, or a string, into a predetermined number of components/characters.
lowercase Format a string to bring down case.
number Format a number to a string.
orderBy Orders a cluster by an expression.
uppercase Format a string to upper case.

Filters are clarified in Angular Filters.


AngularJS Validation Properties

  • $dirty
  • $invalid
  • $error

Validation is clarified in Angular Validation.


AngularJS Global API

Converting

API Description
angular.lowercase() Converts a string to lowercase
angular.uppercase() Converts a string to uppercase
angular.copy() Creates a profound duplicate of an item or an array
angular.forEach() Executes a capacity for every component in an article or array

Comparing

API Description
angular.isArray() Returns genuine if the reference is an array
angular.isDate() Returns genuine if the reference is a date
angular.isDefined() Returns genuine if the reference is defined
angular.isElement() Returns genuine if the reference is a DOM element
angular.isFunction() Returns genuine if the reference is a function
angular.isNumber() Returns genuine if the reference is a number
angular.isObject() Returns genuine if the reference is an object
angular.isString() Returns genuine if the reference is a string
angular.isUndefined() Returns genuine if the reference is undefined
angular.equals() Returns genuine if two references are equal

JSON

API Description
angular.fromJSON() Deserializes a JSON string
angular.toJSON() Serializes a JSON string

Basic

API Description
angular.bootstrap() Starts AngularJS manually
angular.element() Wraps a HTML component as a jQuery element
angular.module() Creates, enlists, or recovers an AngularJS module

The Global API is clarified in Angular API.