(function(angular){
    'use strict';

    var app = angular.module('discussion', [
        'discussion.controllers',
        'discussion.services',
        'discussion.directives',
        'discussion.filters',
        'ngRoute',
        'ui.tinymce',
        'ui.bootstrap',
        'ngFileUpload',
        'ui.select',
        'ngSanitize',
        'ngAnimate',
        'duScroll',
        'LocalStorageModule',
        'shared'
    ]);

    // Set new default values for 'duScroll'
    app.value('duScrollDuration', 1000);
    app.value('duScrollOffset', 100);

    app.config(['$locationProvider', '$routeProvider', 'localStorageServiceProvider',
        function config($locationProvider, $routeProvider,
            localStorageServiceProvider) {
            localStorageServiceProvider.setPrefix('');
            $locationProvider.hashPrefix('!');

            $routeProvider.
                when('/topic/new/', {
                    templateUrl: 'topic-new.html',
                    controller: 'NewTopicCtrl'
                }).
                when('/topic/:topicId/', {
                    templateUrl: 'topic-detail.html',
                    controller: 'TopicCtrl'
                }).
                when('/forum/embed/', {
                    templateUrl: 'forum-embed.html',
                    controller: 'ForumEmbedCtrl',
                    reloadOnSearch: false
                }).
                when('/forum/:forumId', {
                    templateUrl: 'forum.html',
                    controller: 'ForumCtrl',
                    reloadOnSearch: false
                }).
                when('/', {
                    templateUrl: 'forum.html',
                    controller: 'ForumCtrl',
                    reloadOnSearch: false
                }).
                otherwise('/');
        }
    ]);

    app.run(function($http, localStorageService) {
        $http.defaults.headers.common.Authorization = 'Token ' + localStorageService.get('ujs-ocupa|token');
    });

    app.service('CurrentUser', ['localStorageService', function (localStorageService) {
        console.log(localStorageService.get('ujs-ocupa|currentProfile'));
        return localStorageService.get('ujs-ocupa|currentProfile');
    }]);

})(angular);

@@ -424,16 +424,37 @@
 'shared'
+,%0A        'djangular'
 %0A    %5D);
@@ -1853,418 +1853,8 @@
 %5D);%0A
-%0A    app.run(function($http, localStorageService) %7B%0A        $http.defaults.headers.common.Authorization = 'Token ' + localStorageService.get('ujs-ocupa%7Ctoken');%0A    %7D);%0A%0A    app.service('CurrentUser', %5B'localStorageService', function (localStorageService) %7B%0A        console.log(localStorageService.get('ujs-ocupa%7CcurrentProfile'));%0A        return localStorageService.get('ujs-ocupa%7CcurrentProfile');%0A    %7D%5D);%0A%0A
 %7D)(a

add djangular in discussion-app