AngularJS is an open source web application framework. It was first developed by Misko Hevery and Adam Abrons in 2009. It is currently maintained by Google. The latest version of
Filter is used to change, filtering data to result in another string. Below is a list of common filters commonly used in AngularJS.
Table data is often repeated in natural order. In AngularJS, ng-repeat directive can be used to draw tables easily. Below is an example of how to use ng-repeat to create tables.
In this chapter, I will show you how to install the AngularJS library to be used in web application development. We will introduce about the structure of the ink and its contents.
Model View Controller or MVC is a popular call, a software design model for web-based applications.
To start, we start with creating the actual XinChao application by using AngularJS, we will show you the specific parts of an AngularJS application.
AngularJS directive is used to inherit HTML. There are special attributes that start with the prefix-.
Expression is used to bind application data to HTML tags. Expression is written in {{expression}}. Expression has a similar way of operating as the ng-bind directive.
An AngularJS application works primarily based on the controller component to control the flow of data in the application.
The directives below can be used to bind application data to attributes in the HTML DOM element.
AngularJS supports module-oriented approach. The module is used to distinguish the logic, service and application processing ... and make the code clear.
AngularJS complements the form of filling and validation features. You can use ng-click directive to handle the event by clicking on the button and using the flags $ dirty and $
HTML does not support embedding HTML web pages in HTML pages. To achieve this function, the following methods can be used:
AngularJS provides a $ http control that acts as a service to read data from the server. The server can create calls to the database to receive the logs. AngularJS needs data in
AngularJS supports Single Page Application through multiple views on a single page. To do this, AngularJS provides ng-view and ng-template directive and $ routeProvider service.
Scope is a special JavaScript object with the role of linking controllers and views. Scope contains information as model data. In the controller, model data can be accessed via
AngularJS supports the concept of Seperation of Concerns - Divide to use service structure. Service is JavaScript functions and is responsible for certain tasks.
AngularJS provides multi-lingual functions (i18n) with 3 types of filters, currency, date and number. We just need to combine the js corresponding to the location depending on the