A sample of AngularJS services