Adds underscore and underscore-angular in order to use the sample() utility function.

It will allow us to randomly select a sub-array from an array and emulate on the client-side something like "random starred songs".
This commit is contained in:
Hyzual 2014-11-06 21:49:33 +01:00
parent c5cbad003f
commit 1261c74e64
5 changed files with 24 additions and 8 deletions

View file

@ -1,7 +1,7 @@
'use strict';
/* Declare app level module */
var jamstash = angular.module('JamStash', ['ngCookies', 'ngRoute', 'ngSanitize']);
var jamstash = angular.module('JamStash', ['ngCookies', 'ngRoute', 'ngSanitize', 'angular-underscore/utils']);
jamstash.config(function ($routeProvider) {
$routeProvider