Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- //service
- (function(){
- 'use strict';
- angular.module('postData')
- .factory('postData', postData);
- function postData ($resource) {
- var result = $resource('http://localhost:8000/api/subAccount/?format=json');
- return result;
- }
- })();
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement