Parent: [146b7d] (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('/notifications/api/sayhello').then(function(response) { return response.data.message; }); });