100 likes | 294 Views
Angular & Node JS Training Course in Bangalore, 100% Job Guarantee, Live Project, Low Fees. Best angular training institute in Bangalore. Book your FREE DEMO Class Now<br>Contact: 09738001024<br>
E N D
Wt is angular js: Angular js(commonly referred to as "Angular" or "Angular.js") is an open-source web application framework mainly maintained by Google and by a community of individuals and corporations to address many of the challenges encountered in developing single-page applications.
Advantages of angularjs training : Great framework for building dynamic, SPA web applications • AngularJS allows you to control complete DOM structure show/hide, changing everything with AngularJS properties • Modularity, Support of design patterns, testable framework • You can accomplish 80% of web application functionality using 20% of AngularJS features
AngularJS page life cycle • Bootstrap phase: occurs when the AngularJS library is downloaded to the browser when the AngularJS initializes its module and its necessary components, in this phase the module is initialized. • Compilation phase: occurs when the page is loaded , static form of the DOM is replaced with dynamic DOM
AngularJS Modules: • Is a global place for creating, registering and retrieving Angular modules • Is a collection of services, directives, controllers, filters, and configuration information .
Directives • They are markers on a DOM element (such as an attribute, element name, comment or CSS class) that tell AngularJS's HTML compiler ($compile) to attach a specified behavior to that DOM element or even transform the DOM element and its children. • AngularJS comes with plenty of directives ng-app, ng-model, ng- controller, ng-show, ng-repeat,ng-init •
AngularJS Unit Testing • AngularJS comes with dependency injection built in which makes the testing easy. • Separation of concerns is important for testing