Guest User

Untitled

a guest
Jun 30th, 2016
116
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.29 KB | None | 0 0
  1. angular
  2. .module('countryFactory', [])
  3. .factory('countryFactory', countryFactory);
  4.  
  5. function countryFactory($http) {
  6. exports = {
  7. getCountry: null
  8. };
  9. exports.getCountry= function () {
  10. return $http.get.apply(null, arguments);
  11. };
  12. return exports;
  13. }
Advertisement
Add Comment
Please, Sign In to add comment