Splits all the services into different jamstash.* modules.

That way dependencies are actually visible and can be managed
e.g. Jamstash doesn't depend upon underscore directly anymore, it's just the subsonic service that needs it.
This commit is contained in:
Hyzual 2014-11-06 22:19:55 +01:00
parent a00ca9e12b
commit 1a830d6cef
9 changed files with 74 additions and 40 deletions

View file

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