Sha256: ac2e440bf9231006841b93b5f3aad9ff1315ac747891d4af64424e6b0af7bc12
Contents?: true
Size: 461 Bytes
Versions: 32
Compression:
Stored size: 461 Bytes
Contents
!(angular => { 'use strict'; function LocalResourceImports($http) { return class LocalResource { constructor(...paths) { this.path = ['resources'].concat(paths); } get(resource) { return $http.get(this.path.concat([resource]).join('/')); } }; } LocalResourceImports.$inject = ['$http']; angular.module('alephServices.localResource', []).service('LocalResource', LocalResourceImports); }(angular));
Version data entries
32 entries across 16 versions & 1 rubygems