Refinance now before rates go up! Get multiple rate quotes at GetMyLender.com.

AngularJS : Basic Information

The basic information of AngularJS is given in the form of Questions and their respective Answers are as follows:

1) Why this project is called "AngularJS"?
Answer : You know the basic information of Hyper Text Markup Language (HTML). HTML tags always have an Angular brackets like < > and pronunciation of these brackets is Angular. In AngularJS, code of view is written using HTML tag or using custom tag within Angular Brackets. Hence name is Angular. All the code written for Angular is a code of JavaScript (JS). Hence the complete name given to this project is "AngularJS".

2) Is there any namespace to use AnularJS?
Answer : Yes, that namespace is "ng". So whenever we write code for view, which will be written using AnguarJS directives, it always with “ng” namespace.
e.g. : ng-app.

3) Why the namespace is called "ng"?
Answer : Please see alphabets of "Angular", you can see there are total seven alphabets and two of them are "ng". This "ng" sounds like "Angular". Hence namespace of Angular is "ng".

4) Is AngularJS a library, framework, plugin or a browser extension?
Answer : As we already discussed difference between library and framework, AngularJS fits the definition of a framework the best, even though it's much more lightweight than a typical framework and that's why many confuse it with a library.
AngularJS is 100% JavaScript, 100% client side and compatible with both desktop and mobile browsers. So it's definitely not a plugin or some other native browser extension.

5) Is AngularJS a templating system?
Answer : At the highest level, Angular does look like a just another templating system. But there is one important reason why the Angular templating system is different, that makes it very good fit for application development: bidirectional data binding. The template is compiled in the browser and the compilation step produces a live view. This means you, the developers, don't need to write code to constantly sync the view with the model and the model with the view as in other templating systems.

6) Do I need to worry about security holes in AngularJS?
Answer : Like any other technology, AngularJS is not impervious to attack. Angular does, however, provide built-in protection from basic security holes including cross-site scripting and HTML injection attacks. AngularJS does round-trip escaping on all strings for you and even offers XSRF protection for server-side communication.
AngularJS was designed to be compatible with other security measures like Content Security Policy (CSP), HTTPS (SSL/TLS) and server-side authentication and authorization that greatly reduce the possible attack vectors and we highly recommended their use.

7) Can I download the source, build, and host the AngularJS environment locally?
Answer : Yes. See instructions on following link

https://docs.angularjs.org/misc/downloading


8) What browsers does Angular work with?
Answer : We run our extensive test suite against the following browsers: Safari, Google Chrome, Mozilla Firefox, Opera, IE8, IE9 and mobile browsers (Android, Chrome Mobile, iOS Safari).

9) What's Angular's performance like?
Answer : The startup time heavily depends on your network connection, state of the cache, browser used and available hardware, but typically it measure bootstrap time in tens or hundreds of milliseconds.
The runtime performance will vary depending on the number and complexity of bindings on the page as well as the speed of your backend (for apps that fetch data from the backend). Just for an illustration they typically build snappy apps with hundreds or thousands of active bindings.

10) How big is the angular.js file that I need to include?
Answer : The size of the file is < 36KB (this may be old, latest near about 100KB) compressed and minified.

11) Can I use the open-source Closure Library with Angular?
Answer : Yes, you can use widgets from the Closure Library in Angular.

12) Does Angular use the jQuery library?
Answer : Yes, Angular can use jQuery if it's present in your app when the application is being bootstrapped. If jQuery is not present in your script path, Angular falls back to its own implementation of the subset of jQuery that we call jQLite. Due to a change to use on()/off() rather than bind()/unbind(), Angular 1.2 only operates with jQuery 1.7.1 or above.

13) What is testability like in Angular?
Answer : Very testable and designed this way from ground up. It has an integrated dependency injection framework, provides mocks for many heavy dependencies (server-side communication).

14) How is Angular licensed?
Answer : The MIT License.

15) Can I download and use the Angular logo artwork?
Answer : Yes! You can find design files in our github repository, under "angular.js/images/logo" The logo design is licensed under a "Creative Commons Attribution-Share A like 3.0 Unported License".


Conclusion :

I hope that this article would have helped you in understanding basic and important information of AngularJS. Please share your knowledge if you know more about this attribute. Your feedback and constructive contributions are always welcome.


No comments:

Post a Comment