0f02e46f8debdaf9a08962dc49d7b95e4af0328c
[portal/sdk.git] /
1 appDS2.config(function($routeProvider) {
2         $routeProvider
3         .when('/profile/:profileId', {
4                 templateUrl: 'app/fusion/scripts/view-models/profile-page/profile_detail.html',
5                 controller: 'profileController'
6         })
7         .when('/post_search', {
8                 templateUrl: 'app/fusion/scripts/view-models/profile-page/post_search.html',
9                 controller: 'postSearchCtrl'
10         })
11         .when('/ase', {
12                 templateUrl: 'app/fusion/ase/index.html'
13         })
14         .when('/self_profile', {
15                 templateUrl: 'app/fusion/scripts/view-models/profile-page/self_profile.html',
16                 controller: 'selfProfileController'
17         })
18         .otherwise({
19                 templateUrl: 'app/fusion/scripts/DS2-view-models/DS2-profile-page/profile_searchDS2.html',
20                 controller : "profileSearchCtrlDS2"
21         });
22 });