PreviousNext

Angular.js Service and Factory

by bill-s, 2016-02-13T09:59:27.000Z

Angular.js is a MVC based JavaScript framework which provides client-side modularity using Angular components like Module, Controller, Services, Factory etc. A Module is an entry point to the Angular application, whereas the Controller contains objects which are used to bind with the View using Angular Directives. For Services, the general assumption is that if one or more angular controllers wants to access data from an external REST service or a Web API, then we use an Angular service. Let’s see some specifications of using Angular Service and Factory.

Read More