whatibroke.com
Random Class Directive – AngularJS
Hey everyone, Just another small directive. This one adds a random class from the provided array to the element. Check out this fiddle to see the demo: I used this directive to add a random backgro…