UNPKG

zettapi_client

Version:

Client side CRUD operations in angular to use with zettapi_server rest api to get started quickly in any CMS project

12 lines (9 loc) 280 B
app.controller('stackTraceCtrl', function($scope, $uibModalInstance, data) { $scope.item = data; $scope.cancel = function () { $uibModalInstance.dismiss({ type: $scope.type }); }; $scope.ok = function() { $uibModalInstance.close({ type: $scope.type }); }; });