Subversion Repositories SmartDukaan

Rev

Rev 13555 | Rev 13560 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 13555 Rev 13556
Line 1... Line 1...
1
angular.module('starter.services', [])
1
angular.module('starter.services', [])
2
.value('apihost',"http://dtr.shop2020.in/")
2
.value('apihost',"http://dtrdashboard.saholic.com/")
3
.factory('Categories', function($resource,apihost) {
3
.factory('Categories', function($resource,apihost) {
4
  return $resource(apihost+"/categories/?user_id=:me",
4
  return $resource(apihost+"/categories/?user_id=:me",
5
      {callback: "JSON_CALLBACK"} , 
5
      {callback: "JSON_CALLBACK"} , 
6
      { all: {
6
      { all: {
7
          method: "JSONP",
7
          method: "JSONP",