angular.module("hyperadmin") .directive "tableRow", -> template: """ Show Edit Destroy """ restrict: "A" scope: attributes: "=" resource: "=" link: (scope) -> scope.template = (attr) -> "table-#{attr.type}"