/**
 * Application
 */
angular
    .module('App', [
        'ngRoute',
        'ui.bootstrap',
        'UIModule',
        'AdministrationModule',
        'DashboardModule',
        'TaskModule',
        'DemoModule'
    ])
    .config([
        '$httpProvider',
        '$sceDelegateProvider',
        function ($httpProvider, $sceDelegateProvider) {
            /*$httpProvider.defaults.useXDomain = true;
            delete $httpProvider.defaults.headers.common['X-Requested-With'];*/
            $httpProvider.defaults.headers.common["Accept"] = "application/json";
            $httpProvider.defaults.headers.common["Content-Type"] = "application/json";

            /*$sceDelegateProvider.resourceUrlWhitelist(['self', 'http://localhost:3000*//**']);*/
        }
    ])
    .run([
        '$rootScope',
        '$location',
        'HeaderService',
        'MenuService',
        'AuthenticationService',
        function ($rootScope, $location, HeaderService, MenuService, AuthenticationService) {
            // Check User credentials
            $rootScope.$on("$routeChangeStart", function (event, next, current) {
                if (next.access && next.access.requiredLogin && !AuthenticationService.isLogged()) {
                    // Redirect to login page
                    $location.path('/user/login');
                }
            });

            // Update UI with the new page info
            $rootScope.$on('$routeChangeSuccess', function (event, next, current) {
                // Store previous state
                HeaderService.setPrevious(current);

                // Store current state
                HeaderService.setCurrent(next);

                MenuService.checkRoute(next.regexp, true);

                // Close all sidebar menus
                MenuService.closeItemMenus();
            });

            // Redirect to error page if there is a problem
            $rootScope.$on('$routeChangeError', function (event, current, previous, rejection) {
                // Get status of the rejection or assume it's our fault with a default 500 error
                var statusCode = rejection && rejection.status && rejection.status.code ? rejection.status.code : 500;

                // Redirect User to the correct error page
                switch (statusCode) {
                    case 404:
                        $location.path('/error/404');
                        break;

                    case 500:
                    default:
                        $location.path('/error/500');
                        break;
                }
            });
        }
    ]);
@@ -181,32 +181,55 @@
   'TaskModule',%0A
+        'MusicModule',%0A
         'DemoMod
@@ -291,224 +291,34 @@
     
-'$sceDelegateProvider',%0A        function ($httpProvider, $sceDelegateProvider) %7B%0A            /*$httpProvider.defaults.useXDomain = true;%0A            delete $httpProvider.defaults.headers.common%5B'X-Requested-With'%5D;*/
+function ($httpProvider) %7B
 %0A   
@@ -487,108 +487,8 @@
 on%22;
-%0A%0A            /*$sceDelegateProvider.resourceUrlWhitelist(%5B'self', 'http://localhost:3000*//**'%5D);*/
 %0A   

use new Music module and clean code