Angular service that generates a random alphanumeric string certain length.
$ bower install --save angular-random-string
##usage
- Load script
<script src="/path/to/angular-random-string.js"></script>
- Add to your module
var app = angular.module('MyApp', ['angularRandomString']);
- Inject to controller/service/etc.
app.controller('myController', function(randomString){
var str = randomString(); // -> random alphanumeric string 10 char length
var str32 = randomString(32); // -> random alphanumeric string 32 char length
});