Sha256: 548aa64cc6d1c8746489720e4d8decba5c69efd64c87d0af41753b9e1fd54e78
Contents?: true
Size: 1.22 KB
Versions: 6
Compression:
Stored size: 1.22 KB
Contents
/* ----------------------------------------------------------------------------- Red Base - Basic website skel engine Copyright (C) 2012-2013 Yellowen This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. ----------------------------------------------------------------------------- */ var API = angular.module("API", []); API.provider("API", function(){ var _resource; this.resource = function(resource){ _resource = resource; }; this.$get = ["Restangular", function(Restangular){ return new Restangular.all(_resource); }]; });
Version data entries
6 entries across 6 versions & 2 rubygems