summaryrefslogtreecommitdiffstats
path: root/ecomp-sdk/epsdk-app-overlay/src/main/webapp/app/fusion/scripts/DS2-controllers/sampleProfileController.js
blob: 0f02e46f8debdaf9a08962dc49d7b95e4af0328c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
appDS2.config(function($routeProvider) {
	$routeProvider
	.when('/profile/:profileId', {
		templateUrl: 'app/fusion/scripts/view-models/profile-page/profile_detail.html',
		controller: 'profileController'
	})
	.when('/post_search', {
		templateUrl: 'app/fusion/scripts/view-models/profile-page/post_search.html',
		controller: 'postSearchCtrl'
	})
	.when('/ase', {
		templateUrl: 'app/fusion/ase/index.html'
	})
	.when('/self_profile', {
		templateUrl: 'app/fusion/scripts/view-models/profile-page/self_profile.html',
		controller: 'selfProfileController'
	})
	.otherwise({
		templateUrl: 'app/fusion/scripts/DS2-view-models/DS2-profile-page/profile_searchDS2.html',
		controller : "profileSearchCtrlDS2"
	});
});