Tuesday, 21 October 2014

how to write a service in Angularjs




app likes this:


the service should like this:






















use this service in controller like this:



































No comments:

Post a comment