tobbbe
4/16/2014 - 1:52 PM

gistfile1.txt

.factory('machinesCache', function() {

	var machines = null;

	return {

		set: function(data) {
			machines = data;
		},

		get: function() {
			return machines;
		}
	}

})