Switch to unified view
a | b/frontend/js/c2net/services.js | ||
---|---|---|---|
1 | 'use strict'; |
||
2 | |||
3 | angular.module('esn.c2net') |
||
4 | .factory('getHelloWorld', function($http) { |
||
5 | return $http.get('/c2net/api/sayhello').then(function(response) { |
||
6 | return response.data.message; |
||
7 | }); |
||
8 | }); |