UNPKG

acha-framework

Version:

is a modular framework on both client (angular.js) and server (node.js) side, it provides security, orm, ioc, obfuscation and ...

11 lines 370 B
(function (angular, undefined) { 'use strict'; angular.module('frontend.library').factory('uuid', function () { return function () { function s4() { return Math.floor((1 + Math.random()) * 65536).toString(16).substring(1); } return s4() + s4() + '-' + s4() + '-' + s4() + '-' + s4() + '-' + s4() + s4() + s4(); }; }); }(angular));