1. What is Angular JS?
Answer: Angular JS a framework to assemble large scale and high presentation web applications while it is keep them in easy-to-maintain
2. What is the purpose angular JS use?
Answer: Angular JS is a JavaScript framework. It's a <script> tag in an HTML page can be added. It extends HTML attributes with the directive, and the data in HTML with expressions bind.
3. What is the purpose angular JS form elements?
There are three objectives in the form of material,
a. The first objective is to enable the legality of
b. The purpose of the form element can try any of the validity of the browser is unable to perform,
c. The ultimate objective of the form element is a variable that will be used to report on the validity of the form is defined.
4. What are the advantages of Angular JS?
Following are the advantages of Angular JS.
• Angular JS charge in a very clear and provides the ability to create a single-page application.
• Angular JS thus giving the user rich and responsive experiences that provide the HTML data binding capability.
• Angular JS code is the testable unit.
• Angular JS using dependency injection to use and separation anxiety.
5. What is Data binding of Angular JS?
Automatic synchronization of data between the data binding model and more material is. NG data model is used to indicate the binding.
6. What is bi-directional model binding?
Angular JS is a two-way binding system, where the components of the model are used to generate change and change is material. Two-way binding only elements that can be applied to the user are input.
One-way and two-way data binding
7. What information?
This means that one-way data binding from a standard data model and is inserted into an HTML element.
Two-way data-binding track changes in both directions, there are a lot of elements that can change the state of the application allow the user to collect information from.
8. What are the controllers of Angular JS?
JavaScript functions are bound to a specific controller. Angular JS framework in which they control the interactions between model and philosophy is the prime actor.
9. What Angular JS Service?
Angular JS comes with several built-in services. For example, the $ HTTP Services (Ajax call) XML Http Requests are used to. Services Singleton objects are instantiated only once in the application.
10. What is the filter of Angular JS?
Select a subset of items from an array of filters and returned to a new array. The filter criteria defined on the basis of a list of items that are used to show items from the filter.
11. Explain Angular JS the instructions.
Directives (such as material properties, CSS, and more) DOM elements are markers. As the new, custom widgets serve to create custom HTML tags can be used. Angular JS built-in instructions (NG- bound NG models, etc.), which will make the most of the developers have been able to accomplish.
12. What MVC?
MVC model view controller or as it is popularly called, for developing Web applications is a software design pattern. A model view controller pattern is composed of the following three parts:
• Model - it is the lowest level are responsible for maintaining the data pattern.
• View - it's all or a portion of user data in order to demonstrate responsibly.
• Controller - This is a software code that controls the interactions between model and philosophy.
13. Explain directed NG model.
NG model Angular JS application data from HTML input control instruction value binds. It is a model variable in the HTML page and the container can be used to control (for example, DIV is) it indicates NG- app creates.
14) Explain what is an injector?
An injector is a repair locator. An injector is a service locator. It is used for the recovery of instances of the defining object, instant type, methods and object defined by the load modules. The angular application has every single connector; it helps to find an example of an object by its name.
15) Give details what is the difference between links and compile in Angular.js?
Compile the function: It is used for the template DOM manipulation and collects all the instructions.
Link Function: It is used for DOM manipulation registration with DOM audience. Once the template has been cloned it is executed.
16) Explain what is factory method in Angular JS?
For creating the directive, the factory method is used. It is invoked only once when compiler matches the directive for the first time. By using $injector invoke the factory method is invoked.
17) Mention what is the styling form that Ng Model adds to CSS classes?
Ng Model adds these CSS classes to permit styling of form as well as control
· ng- valid
· ng- invalid
· ng-pristine
· ng-dirty
18) Explain what is DI (Dependency Injection) and how an object or function can get a hold of its dependencies?
DI or dependency injection is a software design pattern that codifies its reliance. When the modules are loaded, the components of the application need to be configured for recovery, using the operation "Config" dependency injection.
These are the ways that object uses to hold of its dependencies
· Typically using the new operator, dependency can be created
· By referring to a global variable, dependency can be looked up
· Dependency can be passed to where it is required
19) Mention what are the advantages of using an Angular.js framework?
Advantages of using Angular.js as a framework are
The advantage of using Angular.js as the framework is
• Two-way data binding supports
• Supports MVC pattern
• Support static templates and corner templates
• Add custom guidelines
• Supports complete full service
• Form validation support
• Support both clients and server communications
• Support dependency injection
• Applying the album
• Event handlers
20) Explain the concept of scope hierarchy? How much scope can an application have?
Each angular application consists of one root scope but can be scope for a different child. As a child regulator and some guidelines create new child scopes, the application may contain multiple scopes. When new scopes are formed or formed, their father or mother is added as a child of scope. Similar to the DOM, they created a sequential structure.
21) explain what is the difference between Angular JS and backbone.js?
The angular JS combines the most functionality of third-party libraries; it supports the various functions required for HTML5 application development. While Backbone.js do their jobs individually.
22) Who created Angular JS?
Originally it was created by MySky Heaven and Adam Abrons. It's currently being made by Google.
23. Enter the advantages of using the model.
It offers the advantages of using model controllers, and we can check more easily separated from the opinion is.
24. Explain directed NG- controller.
NG controller use with this view controller to indicate that Angular JS. Angular JS application controls the flow of data controllers, depending on the application. A controller contains the attributes / features and functions of a JavaScript object. Each controller is a parameter that application/module that represents the controller control to take advantage of, such as $.
25. What are Angular JS expressions?
HTML is used to bind to the disclosure of the application data. Like much that is written inside double braces {{expression}}. NG- expressed in the same way as the bound direction. Angular JS JavaScript expressions are pure expression and information on the application where they are used to output.
No comments:
Post a Comment