'use strict';


angular.module('genex', ['ngRoute', 'genjs.services', 'genex.controllers'])

    .config(['$routeProvider', function ($routeProvider) {
        $routeProvider.when('/', {
            templateUrl: '/static/genapp-genex/partials/genex.html',
            controller: 'GenExCtrl'
        })
        .otherwise({
            redirectTo: '/'
        });
    }])

    .config(['$httpProvider', function ($httpProvider) {
        // Adds a csrftoken to all http requests.
        $httpProvider.defaults.headers.common['X-CSRFToken'] = $.cookie('csrftoken');
    }])

    .run(['forceTitle', function (forceTitle) {
        forceTitle('GenEx');
    }])
;

@@ -365,25 +365,24 @@
     %7D%5D)%0A
-%0A
     .con
 fig(%5B'$h
@@ -377,285 +377,30 @@
 .con
-fig(%5B'$httpProvider', function ($httpProvider) %7B%0A        // Adds a csrftoken to all http requests.%0A        $httpProvider.defaults.headers.common%5B'X-CSRFToken'%5D = $.cookie('csrftoken');%0A    %7D%5D)%0A%0A    .run(%5B'forceTitle', function (forceTitle) %7B%0A        forceTitle('GenEx');%0A    %7D%5D
+stant('title', 'GenEx'
 )%0A;%0A

Set title via constant