// Written by Joshua Paul A. Chan
(function() {
"use strict";

// Initialize app
angular.module('wr', ['ui-router', 'wr.controllers', 'wr.services', 'wr.directives'])
.config(function($urlRouterProvider) {
    $urlRouterProvider.otherwise('/login');

})
.run(['$rootScope', 'authService', function($rootScope, authService) {

}]);

// Initialize modules
angular.module('wr.controllers', []);
angular.module('wr.services', []);
angular.module('wr.directives', []);
}());

@@ -103,9 +103,9 @@
 %5B'ui
--
+.
 rout
@@ -182,151 +182,334 @@
 on($
-urlRouterProvider) %7B%0A    $urlRouterProvider.otherwise('/login');%0A%0A%7D)%0A.run(%5B'$rootScope', 'authService', function($rootScope, authService) %7B%0A
+locationProvider, $stateProvider) %7B%0A    $locationProvider.html5Mode(true);%0A%0A    $stateProvider%0A        .state('app', %7B url: %22/%22, abstract: true %7D)%0A        .state('app.conversations', %7B%0A            url: %22%22,%0A            templateUrl: %22app/templates/conversations.html%22,%0A            controller: %22convoListController%22%0A        %7D);
 %0A%7D
-%5D
 );%0A%0A

Add main app module