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.

20 lines 485 B
app.directive('zlCountry', function() { return { restrict: 'E', scope: { item: '=', 'var': '@', label: '@', lookup: '=', disable: '=?', valueAttr: '@?' }, replace: false, templateUrl: 'directives/country/country.html', controller: function($scope, zapi) { $scope.useInputLarge = zapi.useInputLarge; $scope.valueAttr = $scope.valueAttr || undefined; $scope.disable = $scope.disable || false; } }; });