AngularJS using factory method, post data and saving to DB

In the last tutorial, I showed how we can use the factory method to share an object (in our case the list of books) and then we displayed those books in our view. The next step is to post data so that we can add another book to the database and that will also update the main listing. So, in this tutorial I will show you how to do that. Continue reading “AngularJS using factory method, post data and saving to DB”

AngularJS using factory method and shared objects with broadcast

My RND with Angular JS in recent time has increased so I thought it would be a good idea to share a few more Angular JS tutorials. In this tutorial, we will be using the factory method of Angular JS to centrally handle shared objects. Divided again in two parts – this one deals with getting the data and setting up the broadcasts. Continue reading “AngularJS using factory method and shared objects with broadcast”