Because HTML has angular brackets and "ng" sounds like "angular".
No, <angular/> is not an HTML5 tag. angular is an orthogonal project to HTML5; you can use the two together.
No, angular is none of these. You don't call its functions, it does not call your functions, it does not provide a way to manipulate DOM, but does provide primitives to create UI projections of your data. There are lots of existing widget libraries which you can integrate with angular. It is 100% JavaScript, 100% client side and compatible with both desktop and mobile browsers.
Like with any technology, angular is not impervious to attack. angular does, however, provide built-in protection from basic security holes including cross-site scripting and HTML injection attacks. angular does round-trip escaping on all strings for you.
Yes. See instructions in downloading.
At the highest level, angular does look like a just another templating system. But there is one important reason why angular templating system is different and makes it very good fit for application development: bidirectional data binding. The template is compiled on the browser and the compilation step produces a live view. This means you, the developer, 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.
Webkit-based browsers (Safari, Chrome, iPhone, Android, WebOS, BlackBerry 6), Firefox, IE6 and above. Note that CSS only works on IE7 and above.
angular takes ~300ms to load, render, and compile. In Chrome it uses about 2-5MB of memory. Your app's performance will vary depending on how many bindings you use.
The size of the library itself is < 50KB compressed and obfuscated.
Yes, you can use widgets from the Closure Library in angular.
Yes, angular uses jQuery, the open source DOM manipulation library.
If jQuery is not present in your script path, angular falls back on its own implementation of
jQuery lite
. If jQuery is present in the path, angular uses it to
manipulate the DOM.
Very testable. It has an integrated dependency injection framework. See
service
for details.
Watch the July 28, 2010 talk "Angular: A Radically Different Way of Building AJAX Apps".
The MIT License.