summaryrefslogtreecommitdiffstats
path: root/ecomp-sdk/epsdk-app-overlay/src/main/webapp/app/fusion/scripts/DS2-controllers/sampleProfileController.js
diff options
context:
space:
mode:
Diffstat (limited to 'ecomp-sdk/epsdk-app-overlay/src/main/webapp/app/fusion/scripts/DS2-controllers/sampleProfileController.js')
-rw-r--r--ecomp-sdk/epsdk-app-overlay/src/main/webapp/app/fusion/scripts/DS2-controllers/sampleProfileController.js22
1 files changed, 22 insertions, 0 deletions
diff --git a/ecomp-sdk/epsdk-app-overlay/src/main/webapp/app/fusion/scripts/DS2-controllers/sampleProfileController.js b/ecomp-sdk/epsdk-app-overlay/src/main/webapp/app/fusion/scripts/DS2-controllers/sampleProfileController.js
new file mode 100644
index 00000000..0f02e46f
--- /dev/null
+++ b/ecomp-sdk/epsdk-app-overlay/src/main/webapp/app/fusion/scripts/DS2-controllers/sampleProfileController.js
@@ -0,0 +1,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"
+ });
+});