AngularJS
With a focus on code quality and testability,
AngularJS is a go-to choice for web
developers.
- * AngularJS is a structural framework for dynamic
web apps.
* It lets you use HTML as your template language
and lets you extend HTML’s syntax to express
your application’s components clearly and
succinctly.
use
Key benefits of AngularJS for web development:
– MVC support
– Code reuse
– Data binding feature
– Quick application prototyping
– Enhanced server performance
– Real-time testing
ng-app
The MVC pattern is an ______________.
architectural pattern
MVC
Model View Controller
Three parts of the MVC:
-model
-view
-controller
the model
The model represents the underlying, logical structure of data in a software application.
the view
view is the body of code that represents the user interface (all of the things that the user can see
and to which the user can respond on the screen, such as buttons, dialog boxes, and so on).
the controller
scope
Filters
AngularJS filters
AngularJS filters format the value of an
expression for display to the end user.
– They don’t actually change the underlying data,
but they change how it is displayed in the
particular case in which the filter is applied.
Built-in Filters
The filters are kept inside the expressions
– Number Filter - number
– Date Filter - date
– limitTo Filter - limitTo