from scott allen's AngularJS: Get Started