'use strict';

angular.module('mean.teacups').factory('Teacups', [
    '$resource',
    function($resource) {
        return $resource('teacups/:teacupId', {
            teacupId: '@_id'
        }, {
            update: {
                method: 'PUT'
            }
        });
    }
]);
'use strict';

angular.module('mean.teacups').factory('Teacups', [
    '$resource',
    function($resource) {
        return $resource('teacups/:teacupId', {
            teacupId: '@_id'
        }, {
            update: {
                method: 'PUT'
            }
        });
    }
]);

angular.module('mean.teacups').factory('Rooms', [
    '$resource',
    function($resource) {
        return $resource('rooms');
    }
]);
Revert "placed angularjs factory for rooms in seperate file."
Revert "placed angularjs factory for rooms in seperate file."

This reverts commit 97b997ea986f1d48c3408d310a23bd008745e7a0.
