{I" class:ETI"BundledAsset;FI"logical_path;TI"3hyper_admin/angularjs/controllers/show_ctrl.js;FI" pathname;TI"u/home/sindre/Code/hyper/hyper_admin/app/assets/javascripts/hyper_admin/angularjs/controllers/show_ctrl.js.coffee;FI"content_type;TI"application/javascript;TI" mtime;Tl+=KTI" length;TiI" digest;TI"%db46423a9e4219c586511a64d1c02f05;FI" source;TI"(function() { angular.module("hyperadmin").controller("ShowCtrl", function($state, Restangular, resourceClass) { this.resource_class = resourceClass; Restangular.one("admin/" + resourceClass.plural, $state.params.id).get().then((function(_this) { return function(resource) { return _this.resource = Restangular.stripRestangular(resource); }; })(this)); this.template = function(attribute) { return "show-" + attribute.type; }; return this; }); }).call(this); ;TI"required_assets_digest;TI"%2653f3ab381b353c0e0b22f29f084189;FI" _version;TI"%6584930913c75ff69ba506e1cfbae2c9;F