In the PhoneCat Tutorial in AngularJS site, it is suggested to replace http.get with our own custom service. https://docs.angularjs.org/tutorial/step_11 Besides making the code modular is there any other use of this ? (Read somewhere that services are called just once, unlike controllers. Not sure about that though)
Asked
Active
Viewed 54 times