'use strict';

angular.module('myApp')
.factory('locationService', ['$http', function($http) {
	var locations = {};
	var url = '/locations'

	locations.getLocations = function() {
		return $http.get('/locations')
	}


	return locations
}]);
'use strict';

angular.module('myApp')
.factory('locationService', ['dataService', '$rootScope', function(dataService, $rootScope) {
	var locations = {} ;

	$rootScope.$on('dataUpdated', function () {
		
	})

	return locations
}]);
Update location services to user new dataService
Update location services to user new dataService
