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.

11 lines 310 B
app.directive('zlMaintenance', function () { return { restrict: 'A', scope: true, controller: function (mySocket, $timeout) { mySocket.on('maintenance', function (data) { swal("Manutenção Programada", data, "info"); }); } }; });