Parent: [cdb7f8] (diff)
Child: [4c81a3] (diff)
Download this file
1 2 3 4 5 6 7 8
'use strict'; angular.module('tut.c2net') .factory('getHelloWorld', function($http) { return $http.get('/c2net/api/sayhello').then(function(response) { return response.data.message; }); });