IEMD MDC SFSH T2SD EFVA WI ARA
Description | Lastname | |
---|---|---|
Introduction | ||
Expressions | can be written inside double braces: {{ expression }}. | can also be written inside a directive: ng-bind="expression"
My first expression: {{ 5 + 5 }} |
Modules | module defines an application - module is a container for the application controllers. | var app = angular.module("myApp", []); |
Directives | directives are extended HTML attributes with the prefix ng-. | The ng-app directive initializes an AngularJS application. |
model | ng-model directive you can bind the value of an input field to a variable created in AngularJS. | |
Data_Binding | Data binding in AngularJS is the synchronization between the model and the view | |
Controllers | controllers control the data of AngularJS applications. | controllers are regular JavaScript Objects. |
Scope | The scope is the binding part between the HTML (view) and the JavaScript (controller). | The scope is an object with the available properties and methods. |
Filters | AngularJS provides filters to transform data | currency date filter json limitTo lowercase number orderBy uppercase (CDFJ 2L NO U) |
Services | service is a function, or object, that is available for, and limited to, your AngularJS application. | AngularJS has about 30 built-in services. One of them is the $location service. |
http | $http is an AngularJS service for reading data from remote servers. | The AngularJS $http service makes a request to the server, and returns a response. |
Tables | ng-repeat directive is perfect for displaying tables. | |
Select | style="color: greenyellow;"If you want to create a dropdown list, based on an object or an array in AngularJS, you should use the ng-options directive | |
SQL | AngularJS is perfect for displaying data from a Database. Just make sure the data is in JSON format. | |
DOM | ||
Events | ||
Forms | ||
Validation | ||
API | ||
W3.CSS | ||
Includes | ||
Animations | ||
Routing | ngRoute module helps your application to become a Single Page Application. | |
Application | an application called myShoppingList, and add a controller named myCtrl to it. | The controller adds an array named products to the current $scope. |