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:
parent
c5cbad003f
commit
1261c74e64
5 changed files with 24 additions and 8 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue