
AngularJS — Superheroic JavaScript MVW Framework
AngularJS is what HTML would have been, had it been designed for building web-apps. Declarative templates with data-binding, MVW, MVVM, MVC, dependency injection and great testability story all implemented with pure client-side JavaScript!
$http
To take advantage of this, your server needs to set a token in a JavaScript readable session cookie called XSRF-TOKEN on the first HTTP GET request. On subsequent XHR requests the server can verify that the cookie matches the X-XSRF-TOKEN HTTP header, and therefore be sure that only JavaScript running on your domain could have sent the request ...
ngRoute - docs.angularjs.org
angular.module('app', ['ngRoute']); With that you're ready to get started! The ngRoute module provides routing and deeplinking services and directives for AngularJS apps.
AngularJS
AngularJS is what HTML would have been, had it been designed for building web-apps. Declarative templates with data-binding, MVC, dependency injection and great testability story all implemented with pure client-side JavaScript!
Dependency Injection - docs.angularjs.org
AngularJS invokes certain functions (like service factories and controllers) via the injector. You need to annotate these functions so that the injector knows what services to inject into the function.
Angular Material
Install with Bower Install with NPM View Source on Github {{doc | humanizeDoc | directiveBrackets}} {{doc | humanizeDoc | directiveBrackets}} View Demo View Source on Github
select - docs.angularjs.org
HTML select element with AngularJS 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).
Understanding Controllers - AngularJS
In AngularJS, a Controller is defined by a JavaScript constructor function that is used to augment the AngularJS Scope. Controllers can be attached to the DOM in different ways. For each of them, AngularJS will instantiate a new Controller object, using the specified Controller's constructor function :
angular.copy
This is a non-exhaustive list of object types / features that are not handled correctly by angular.copy. Note that since this functions is used by the change detection code, this means binding or watching objects of these types (or that include these types) might not work correctly. File; Map; ImageData; MediaStream; Set; WeakMap; getter/ setter
Services - docs.angularjs.org
AngularJS services are substitutable objects that are wired together using dependency injection (DI). You can use services to organize and share code across your app. AngularJS services are: Lazily instantiated – AngularJS only instantiates a service when an …