|
| 1 | +@workInProgress |
| 2 | +@ngdoc overview |
| 3 | +@name FAQ |
| 4 | +@description |
| 5 | + |
| 6 | +#FAQ |
| 7 | + |
| 8 | +### Why is this project called "angular"? Why is the namespace called "ng"? |
| 9 | + |
| 10 | +Because HTML has angular brackets and "ng" sounds like "angular". |
| 11 | + |
| 12 | +### Is <angular/> an HTML5 tag? |
| 13 | + |
| 14 | +No, <angular/> is not an HTML5 tag. angular is an orthogonal project to HTML5; you can use the two |
| 15 | +together. |
| 16 | + |
| 17 | +### Is angular a {library, framework, DOM manipulation library, widget library, native plugin}? |
| 18 | + |
| 19 | +No, angular is none of these. You don't call its functions, it does not call your functions, |
| 20 | +it does not provide a way to manipulate DOM, but does provide primitives to create UI projections |
| 21 | +of your data. There are lots of existing widget libraries which you can integrate with angular. |
| 22 | +It is 100% JavaScript, 100% client side and compatible with both desktop and mobile browsers. |
| 23 | + |
| 24 | +### Do I need to worry about security holes in angular? |
| 25 | + |
| 26 | +Like with any technology, angular is not impervious to attack. angular does, however, provide |
| 27 | +built-in protection from basic security holes including cross-site scripting and HTML injection |
| 28 | +attacks. angular does round-trip escaping on all strings for you. |
| 29 | + |
| 30 | +### Can I download the source, build, and host the angular environment locally? |
| 31 | + |
| 32 | +Yes. See instructions in {@link guide.downloading downloading}. |
| 33 | + |
| 34 | +### Is angular a templating system? |
| 35 | + |
| 36 | +At the highest level, angular does look like a just another templating system. But there is one |
| 37 | +important reason why angular templating system is different and makes it very good fit for |
| 38 | +application development: bidirectional data binding. The template is compiled on the browser and |
| 39 | +the compilation step produces a live view. This means you, the developer, don't need to write |
| 40 | +code to constantly sync the view with the model and the model with the view as in other |
| 41 | +templating systems. |
| 42 | + |
| 43 | +### What browsers does angular work with? |
| 44 | + |
| 45 | +Webkit-based browsers (Safari, Chrome, iPhone, Android, WebOS, BlackBerry 6), Firefox, IE6 and |
| 46 | +above. Note that CSS only works on IE7 and above. |
| 47 | + |
| 48 | +### What's angular's performance like? |
| 49 | + |
| 50 | +angular takes ~300ms to load, render, and compile. In Chrome it uses about 2-5MB of memory. Your |
| 51 | +app's performance will vary depending on how many bindings you use. |
| 52 | + |
| 53 | +### How big is the angular bootstrap JS file that I need to include? |
| 54 | + |
| 55 | +The size of the library itself is < 50KB compressed and obfuscated. |
| 56 | + |
| 57 | +### Can I use the open-source Closure Library with angular? |
| 58 | + |
| 59 | +Yes, you can use widgets from the {@link http://code.google.com/closure/library Closure Library} |
| 60 | +in angular. |
| 61 | + |
| 62 | +### Does angular use the jQuery library? |
| 63 | + |
| 64 | +Yes, angular uses {@link http://jquery.com/ jQuery}, the open source DOM manipulation library. |
| 65 | +If jQuery is not present in your script path, angular falls back on its own implementation of |
| 66 | +{@link angular.element jQuery lite}. If jQuery is present in the path, angular uses it to |
| 67 | +manipulate the DOM. |
| 68 | + |
| 69 | +### What is testability like in angular? |
| 70 | + |
| 71 | +Very testable. It has an integrated dependency injection framework. See |
| 72 | +{@link angular.service service} for details. |
| 73 | + |
| 74 | +### How can I learn more about angular? |
| 75 | + |
| 76 | +Watch the July 28, 2010 talk |
| 77 | +"{@link http://www.youtube.com/watch?v=elvcgVSynRg| Angular: A Radically Different Way of Building AJAX Apps}". |
| 78 | + |
| 79 | +### How is angular licensed? |
| 80 | + |
| 81 | +The MIT License. |
0 commit comments