Examples of using web-based services in Angular including $http and $resource