1. What is AngularJs?
The angularjs is a JavaScript [MVW || MV*] framework and Its maintain by Google. The most of use to creating to single-page applications (SPA) with the MVC pattern. Its used for both client-side and server-side web application etc.
{{
The MVW || MV* stand for "Model-View-Whatever".
We considering the "MVC", "MVVM", "MVP" but angularjs is more closer to MVC pattern, I would guess "whatever works for you!" , "Model-View-Whatever".
Some people are stand to MVW and some are MV* :)
}}
The main features are given below.
1. Its support both type of binding one-way and two-way data bindings.
2. Its support MVC pattern.
3. Its support static template and angular template.
4. You can add custom directives.
5. Its support REST full services.
6. Its support form validations.
7. Its support both client and server communication.
8. Its support dependency injection.
9. Applying Animations.
10. Event Handlers.
2. What are the main features in AngularJs?
{{
The MVW || MV* stand for "Model-View-Whatever".
We considering the "MVC", "MVVM", "MVP" but angularjs is more closer to MVC pattern, I would guess "whatever works for you!" , "Model-View-Whatever".
Some people are stand to MVW and some are MV* :)
}}
The main features are given below.
1. Its support both type of binding one-way and two-way data bindings.
2. Its support MVC pattern.
3. Its support static template and angular template.
4. You can add custom directives.
5. Its support REST full services.
6. Its support form validations.
7. Its support both client and server communication.
8. Its support dependency injection.
9. Applying Animations.
10. Event Handlers.
Ans : The main key features are
Angularjs provide 10 key points as given below, behalf of this keys, I can say that why we use it! :)
5. Is Angularjs is a library, framework or plugins?
Angularjs is a Framework not a library or browser plugins. Because Angularjs is 100% client-side JavaScript and Its support to desktop and mobile browsers.
6. Is Angularjs a templating system?
We can use the ng-include directive for templating system. Angularjs support DOM based templating.
7. In AngularJS, we need to worry about security holes?
Angularjs handle to basic security holes like.
1. HTML injection attacks,
2. cross-site-scripting (CSS)
3. XSRF protection for server side communication.
4. Basic authentication and authorization etc.
8. Can we use to open-source Library with Angular?
Yes, I can use to open source libraries.
9. Does Angularjs depends on jQuery library?
If jQuery is available on page that time it use otherwise it use to jqLite.
Angularjs framework contain subset of jQuery that is called jqLite. In jqLite contain needed limited events and methods which supported to DOM manipulations.
The jqLite is enough to work for Angularjs. Using jqLite, Removed the dependency of
jQuery etc.
When you start to work with directive that time you need to add jQuery. For example, if you are using ng-grid directive that time need to add jQuery because some of the features required to jQuery.
Angularjs support to jQuery version 2.1 or above.
10. What about Auto bootstrap process in AngularJs?
In angularjs ng-app is used to auto-bootstrapping to your applications.
- Scope,
- Controller,
- Model,
- View,
- Services,
- Data Binding,
- Directives,
- Filters,
- Validation and
- Testable.
Angularjs provide 10 key points as given below, behalf of this keys, I can say that why we use it! :)
- It's fully extensible and works with other libraries.
- This is a declarative user interface.
- Data models are plain old JavaScript objects.
- Good Behaviour with directives.
- Good Flexibility with filters.
- Write loosely coupled and less code.
- DOM manipulations , Its support one-way binding and two-way binding both.
- Service providers where they belong.
- Context aware both client and server communication.
- Unit Testing features ready.
The prefix ng-* stands for AngularJs. It comes from the concept of directives which allows to expand the HTML syntax with new elements, which are surrounded by '<' and '>' (as in <my-new-directive>).
5. Is Angularjs is a library, framework or plugins?
Angularjs is a Framework not a library or browser plugins. Because Angularjs is 100% client-side JavaScript and Its support to desktop and mobile browsers.
6. Is Angularjs a templating system?
We can use the ng-include directive for templating system. Angularjs support DOM based templating.
7. In AngularJS, we need to worry about security holes?
Angularjs handle to basic security holes like.
1. HTML injection attacks,
2. cross-site-scripting (CSS)
3. XSRF protection for server side communication.
4. Basic authentication and authorization etc.
8. Can we use to open-source Library with Angular?
Yes, I can use to open source libraries.
9. Does Angularjs depends on jQuery library?
If jQuery is available on page that time it use otherwise it use to jqLite.
Angularjs framework contain subset of jQuery that is called jqLite. In jqLite contain needed limited events and methods which supported to DOM manipulations.
The jqLite is enough to work for Angularjs. Using jqLite, Removed the dependency of
jQuery etc.
When you start to work with directive that time you need to add jQuery. For example, if you are using ng-grid directive that time need to add jQuery because some of the features required to jQuery.
Angularjs support to jQuery version 2.1 or above.
10. What about Auto bootstrap process in AngularJs?
In angularjs ng-app is used to auto-bootstrapping to your applications.
Its also called Automatic Initialization.
The ng-app is the root of compilation and tell only this portion of DOM is angularjs part.
0 comments:
Post a Comment