0
Q:

What is the advantage of using frames? 

Answer:
Q:

What are the core directives of AngularJS?

Answer

Following are the 3 core directives of AngularJS.



  1. ng-app : This directive defines and links an AngularJS application to HTML.

  2. ng-model : This directive binds the values of AngularJS application data to HTML input controls.

  3. ng-bind : This directive binds the AngularJS Application data to HTML tags.

Report Error

View answer Workspace Report Error Discuss

0 98
Q:

What is the Advantage of AngularJS?

Answer

These are the advantages of AngularJS:



  • AngularJS provides capability to form Single Page Application in a very clean and maintainable method.

  • AngularJS provides data binding capability to HTML therefore giving user a rich and responsive experience.

  • AngularJS code is unit testable.

  • AngularJS uses dependency injection and build use of separation of concerns.

  • AngularJS provides reusable components.

  • AngularJS helps developer to writes less code and gets more functionality.

  • AngularJS, views are pure HTML pages, and controllers written in JavaScript do the business process.

  • AngularJS applications will run on all major browsers and good phones together with android and iOS based mostly phones/tablets.

Report Error

View answer Workspace Report Error Discuss

0 84
Q:

Explain about AngularJS boot process.

Answer

When the page is loaded in the browser, following action takes place:


HTML document is loaded into the browser, and evaluated by the browser. AngularJS JavaScript file is loaded; the angular global object is created. Next, JavaScript which registers controller functions is executed.


AngularJS scans through the HTML to look for AngularJS applications and views. Once view is located, it then connects that view to the corresponding controller function.


Then, AngularJS executes the controller functions. It then renders the views with data from the model populated by the controller. The page is ready.

Report Error

View answer Workspace Report Error Discuss

0 113
Q:

What is templates in AngularJS?

Answer

Templates are the rendered view with information from the controller and model. These can be a single file like index.html or multiple views in one page using "partials".

Report Error

View answer Workspace Report Error Discuss

0 88
Q:

What is a data binding in AngularJS?

Answer

Data binding is an automatic synchronization of data between model and view components. ng-model directive is used in Data binding.

Report Error

View answer Workspace Report Error Discuss

1 111