https://code.angularjs.org/1.3.0-beta.14/docs/tutorial/step_06