Thursday, June 14, 2012 | 10:46 AM
By Miško Hevery, Google AngularJS team
Today we are announcing the 1.0 release of AngularJS. We’d like to thank our early adopters, and we’re excited to share it with you who haven’t yet experienced it.
Our goal with AngularJS is to eliminate the guesswork in creating web app structure and take the pain and the boilerplate out of web client apps. We think we’re there and we’d love for you to take a look.
AngularJS’s core features are:
- HTML as the template. You, your browser, your editors and your other tools already know all about working with HTML. Why introduce something else? AngularJS lets you expand HTML’s vocabulary with your own app-specific elements, attributes, and class-types that are fully compatible with the HTML specification.
- Reusable components -- in HTML! AngularJS gives you the power to extend HTML’s syntax with your own elements, attributes that adds behavior or transforms the DOM. Want to write
<div><div><div>...? Want to attach keyboard shortcuts to any element by adding an attribute like
key=’ctrl-s’? You miss the
<blink>tag? All these things and more are possible.
- Views and Routes. AngularJS lets you switch sub-views in your app with a simple route configuration. And you get URL deep-linking for free.
- Tests and Testability. Shipping apps means testing them. We provide common mocks, we take full advantage of dependency injection, and we encourage MVC structure making it easy to test behavior separate from view. It also comes with an end-to-end scenario runner which eliminates test flakiness by having the runner truly understand application state.
Miško Hevery is a software engineer on the AngularJS team in Mountain View, CA. Miško focuses on imagining a future where web development is actually simple.
Posted by Ashleigh Rentz, Editor Emerita