Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- angular
- .module('countryFactory', [])
- .factory('countryFactory', countryFactory);
- function countryFactory($http) {
- exports = {
- getCountry: null
- };
- exports.getCountry= function () {
- return $http.get.apply(null, arguments);
- };
- return exports;
- }
Advertisement
Add Comment
Please, Sign In to add comment