From where should REST API request be invoked from angular js?
I.e. from controller, module, service, factory. I am totally confused that what should be the right w
Here's what I would regard as best practice:
This maintains good separation between the data service layer, the business logic and the front-facing UI. It also limits any consequences of changes to any one layer, to other layers.