UNPKG

zettapi_client

Version:

Admin panel and client-side CRUD operations in angular to use with zettapi_server rest api to get started quickly in any CMS project.

21 lines (20 loc) 433 B
app.directive('zlFile', function(zapi) { return { restrict: 'A', scope: { item: '=', var: '=', docid: '=' }, replace: false, link: function(scope, element, attrs) { scope.useInputLarge = zapi.useInputLarge; if (scope.docid) { if (scope.docid._id) { scope.docid = scope.docid._id; } } }, templateUrl: 'directives/document/file.html' }; });