AngularJS Services Part 1: Provider
I started using AngularJS couple of months ago, when we got a new client that wanted us to help with building an app written in Angular. After couple of months of using it, I found myself struggling with uber-phat controllers and I started thinking of solutions about extracting knowledge out of the controller into separate entities. Also, having the ability to easily inject those entities back into the controller is a must....