Created boilerplate for user profile page

This commit is contained in:
Emmanuel ROHEE 2014-08-18 18:05:42 +02:00
parent 301e55d11d
commit ecfdf23250
4 changed files with 43 additions and 0 deletions

View file

@ -20,6 +20,7 @@ var matrixWebClient = angular.module('matrixWebClient', [
'LoginController',
'RoomController',
'RoomsController',
'UserController',
'matrixService',
'eventStreamService',
'eventHandlerService',
@ -47,6 +48,10 @@ matrixWebClient.config(['$routeProvider', '$provide', '$httpProvider',
templateUrl: 'rooms/rooms.html',
controller: 'RoomsController'
}).
when('/user/:user_matrix_id', {
templateUrl: 'user/user.html',
controller: 'UserController'
}).
otherwise({
redirectTo: '/rooms'
});