Sha256: 193379078977367988e38be51e46b1a0fd8daf3284545dc278e24d0f98fa3fbf
Contents?: true
Size: 350 Bytes
Versions: 2
Compression:
Stored size: 350 Bytes
Contents
angular.module("hyperadmin") .controller "ShowCtrl", ($state, Restangular, resourceClass) -> @resource_class = resourceClass Restangular.one("admin/#{resourceClass.plural}", $state.params.id).get().then (resource) => @resource = Restangular.stripRestangular resource @template = (attribute) -> "show-#{attribute.type}" this
Version data entries
2 entries across 2 versions & 1 rubygems