angular-uuids

WebJar for angular-uuids

License

License

MIT
Categories

Categories

Github Development Tools Version Controls Angular User Interface Web Frameworks
GroupId

GroupId

org.webjars.bower
ArtifactId

ArtifactId

github-com-munkychop-angular-uuid
Last Version

Last Version

0.0.4
Release Date

Release Date

Type

Type

jar
Description

Description

angular-uuids
WebJar for angular-uuids
Project URL

Project URL

http://webjars.org
Source Code Management

Source Code Management

https://github.com/munkychop/angular-uuid

Download github-com-munkychop-angular-uuid

How to add to project

<!-- https://jarcasting.com/artifacts/org.webjars.bower/github-com-munkychop-angular-uuid/ -->
<dependency>
    <groupId>org.webjars.bower</groupId>
    <artifactId>github-com-munkychop-angular-uuid</artifactId>
    <version>0.0.4</version>
</dependency>
// https://jarcasting.com/artifacts/org.webjars.bower/github-com-munkychop-angular-uuid/
implementation 'org.webjars.bower:github-com-munkychop-angular-uuid:0.0.4'
// https://jarcasting.com/artifacts/org.webjars.bower/github-com-munkychop-angular-uuid/
implementation ("org.webjars.bower:github-com-munkychop-angular-uuid:0.0.4")
'org.webjars.bower:github-com-munkychop-angular-uuid:jar:0.0.4'
<dependency org="org.webjars.bower" name="github-com-munkychop-angular-uuid" rev="0.0.4">
  <artifact name="github-com-munkychop-angular-uuid" type="jar" />
</dependency>
@Grapes(
@Grab(group='org.webjars.bower', module='github-com-munkychop-angular-uuid', version='0.0.4')
)
libraryDependencies += "org.webjars.bower" % "github-com-munkychop-angular-uuid" % "0.0.4"
[org.webjars.bower/github-com-munkychop-angular-uuid "0.0.4"]

Dependencies

There are no dependencies for this project. It is a standalone project that does not depend on any other jars.

Project Modules

There are no modules declared in this project.

angular-uuid

angular-uuid is an AngularJS wrapper for Robert Kieffer's node-uuid, which provides simple, fast generation of RFC4122 UUIDS.

Features

  • AngularJS service – no global scope pollution
  • Generate RFC4122 version 1 or version 4 UUIDs
  • Cryptographically strong random # generation on supporting platforms
  • Tiny file size when minified.

Installation

If using CommonJS then simply require angular-uuid as per usual, prior to setting up your AngularJS modules (but after including angular):

npm install --save angular-uuid
require("angular-uuid");

Otherwise use a regular script tag (after including angular):

<script src="angular-uuid.js"></script>

Angular Module Usage

Ensure that you include angular-uuid in your module definition:

var CoolApp = angular.module("CoolApp", ["angular-uuid"]);

You can then inject uuid where necessary, for example:

CoolApp.controller("MainCtrl", ["uuid", MainCtrl]);

function MainCtrl (uuid)
{
    var hash = uuid.v4();
    console.log(hash);
}

Documentation

Full documentation is available via the original project's readme: https://github.com/broofa/node-uuid/blob/master/README.md

Versions

Version
0.0.4