Skip to content

Instantly share code, notes, and snippets.

@AFelipeTrujillo
Last active September 9, 2016 16:45
Show Gist options
  • Save AFelipeTrujillo/77d95bfde16392cd09879ee26f56890d to your computer and use it in GitHub Desktop.
Save AFelipeTrujillo/77d95bfde16392cd09879ee26f56890d to your computer and use it in GitHub Desktop.
var defered = $q.defer();
var promise = defered.promise;
defered.resolve({"success":"true","data":[{"id":603,"assistanceDate":"2016-07-27 14:41:20","salesRoom":"ESTACI\u00f3N DE BUS","totalAffiliated":1,"assistanceTime":"2016-07-27 02:40:05","affiliatedId":12343,"affiliatedFirstName":"SLASH","affiliatedLastName":"ROSE","afiliatedMaritalStatus":"SOLTERO","num_rows":355},{"id":602,"assistanceDate":"2016-07-27 14:36:52","salesRoom":"HELIPUERTO","totalAffiliated":1,"assistanceTime":"2016-08-30 07:13:57","affiliatedId":8000,"affiliatedFirstName":"JON BON","affiliatedLastName":"JOVI","afiliatedMaritalStatus":"DIVORCIADO","num_rows":355},{"id":601,"assistanceDate":"2016-07-27 14:33:35","salesRoom":"HELIPUERTO","totalAffiliated":1,"assistanceTime":"2016-07-26 02:32:12","affiliatedId":8000,"affiliatedFirstName":"JON BON","affiliatedLastName":"JOVI","afiliatedMaritalStatus":"DIVORCIADO","num_rows":355},{"id":600,"assistanceDate":"2016-07-27 14:15:08","salesRoom":"AEROPUERTO","totalAffiliated":1,"assistanceTime":"2016-07-26 02:14:01","affiliatedId":808789952,"affiliatedFirstName":"AXL","affiliatedLastName":"ROSE","afiliatedMaritalStatus":"CASADO","num_rows":355},{"id":599,"assistanceDate":"2016-07-27 14:12:46","salesRoom":"ESTACI\u00f3N DE BUS","totalAffiliated":1,"assistanceTime":"2016-07-27 02:10:20","affiliatedId":8005444,"affiliatedFirstName":"HORACIO","affiliatedLastName":"ACEVEDO","afiliatedMaritalStatus":"CASADO","num_rows":355},{"id":598,"assistanceDate":"2016-07-26 16:10:44","salesRoom":"ESTACI\u00f3N DE BUS","totalAffiliated":1,"assistanceTime":"2016-07-27 02:04:48","affiliatedId":987555,"affiliatedFirstName":"WALTER","affiliatedLastName":"MERCADO","afiliatedMaritalStatus":"SOLTERO","num_rows":355},{"id":597,"assistanceDate":"2016-07-26 16:09:03","salesRoom":"HELIPUERTO","totalAffiliated":1,"assistanceTime":"2016-07-26 00:00:00","affiliatedId":15987,"affiliatedFirstName":"ERNEST","affiliatedLastName":"WHITE","afiliatedMaritalStatus":"SOLTERO","num_rows":355},{"id":596,"assistanceDate":"2016-07-26 16:07:03","salesRoom":"ESTACI\u00f3N DE BUS","totalAffiliated":1,"assistanceTime":"2016-07-19 00:00:00","affiliatedId":987789,"affiliatedFirstName":"ROSARIO","affiliatedLastName":"ESPITIA","afiliatedMaritalStatus":"CASADO","num_rows":355},{"id":595,"assistanceDate":"2016-07-26 16:04:38","salesRoom":"AEROPUERTO","totalAffiliated":1,"assistanceTime":"2016-07-11 00:00:00","affiliatedId":159872,"affiliatedFirstName":"HORACIO","affiliatedLastName":"ZAPATA","afiliatedMaritalStatus":"SOLTERO","num_rows":355},{"id":594,"assistanceDate":"2016-07-26 15:56:13","salesRoom":"AEROPUERTO","totalAffiliated":1,"assistanceTime":"2016-07-11 00:00:00","affiliatedId":159872,"affiliatedFirstName":"HORACIO","affiliatedLastName":"ZAPATA","afiliatedMaritalStatus":"SOLTERO","num_rows":355}],"totalPages":36,"totalRows":355});
return promise;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment