While this works (which is great!), we can make it better. Have a read through these pages and see if you can't spot a way to improve upon what you've got so far:

- https://docs.angularjs.org/tutorial/step_05
- https://docs.angularjs.org/tutorial/step_07
- https://docs.angularjs.org/guide/controller