Geeks With Blogs
Developers Friendly November 2014 Entries
Custom Services in AngularJS
Through this post I am trying to demonstrate how to write a custom service in AngularJS. Why custom Service? - Reusability Services are used to perform specific operation Or to write piece of code that doesn't fit in Directive or model. Say for example we have to call an API and capture data what we receive from API and perform some operation on that data.In such cases its a better practice that we take out such piece of code and keep it separately from any directive so that we can encapsulate code ......

Posted On Tuesday, November 25, 2014 4:51 AM

Copyright © Manjunath K | Powered by: GeeksWithBlogs.net