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:
parent
a00ca9e12b
commit
1a830d6cef
9 changed files with 74 additions and 40 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue