applying best practices for angular
$http to service.