Chapter 4 Example6: pushing server side data to AngularJS