A repo that shows how to create the same AngularJS service using three different patterns, Service, Factory, and Provider.