MCPcopy Index your code
hub / github.com/Anomen/AuthenticationAngularJS / nextUid

Function nextUid

public/javascripts/angular.js:371–373  ·  view source on GitHub ↗

* A consistent way of creating unique IDs in angular. * * Using simple numbers allows us to generate 28.6 million unique ids per second for 10 years before * we hit number precision issues in JavaScript. * * Math.pow(2,53) / 60 / 60 / 24 / 365 / 10 = 28.6M * * @returns {number} an unique alph

()

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 3

ScopeFunction · 0.85
$RootScopeProviderFunction · 0.85
radioInputTypeFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected