Angular Tutorial: Adding A Service

If you’ve been following the Angular tutorials I’ve posted for the past few months, then this is the fifth installment of this series. If you haven’t then I suggest you go to the first part of this tutorial so you can catch up. In the previous installment, the tutorial gives us an idea on how to use Jasmine to test a Controller and left with a suggestion that the program can further be improved by adding a service.

Before addign a service, we need to make the application more realistic by adding a couple views. You can do that by adding an Admin and an Expense folder to the App folder.

Read the rest of the tutorial here: http://blog.falafel.com/Blogs/jesse-liberty/2014/04/25/angular-part-5-adding-a-service

Leave a Reply

Your email address will not be published. Required fields are marked *