'use strict';

angular
	.module('webClient.places')
	.factory('PlacesService', PlacesService);

function PlacesService($resource, envService) {
	console.log('Hello :)');
	return $resource(
		envService.read('baseBackendUrl') + '/places',
		{},
		{query: {method:'GET', isArray:true}}
	);
}

'use strict';

angular
	.module('webClient.places')
	.factory('PlacesService', PlacesService);

function PlacesService($resource, envService) {
	return $resource(
		envService.read('baseBackendUrl') + '/places',
		{},
		{query: {method:'GET', isArray:true}}
	);
}

Revert "Story-52 [Marcela, Felipe] Just testing if the new versions are being correctly deployed to Heroku from Snap - this commit will be reverted in the next push"
Revert "Story-52 [Marcela, Felipe] Just testing if the new versions are being correctly deployed to Heroku from Snap - this commit will be reverted in the next push"

This reverts commit 926c0f09dc56c1fa9ffb91c548d644c771b08046.
