diff --git a/src/main/webapp/source/scripts/modules/arhome/components/arhome.controller.js b/src/main/webapp/source/scripts/modules/arhome/components/arhome.controller.js
index b30de395..ed7d1a0c 100644
--- a/src/main/webapp/source/scripts/modules/arhome/components/arhome.controller.js
+++ b/src/main/webapp/source/scripts/modules/arhome/components/arhome.controller.js
@@ -127,16 +127,17 @@
getAllPlaylists();
- ctrl.getPlayListId = function (id){
- console.log("PLAYLIST ID " + id)
- $uibModal.open({
- templateUrl: 'single-playlist.html',
- controller: 'SinglePlaylistController',
- controllerAs: 'model',
- resolve: {
- id: function () { return id; }
- }
- });
+ ctrl.getPlayListId = function (id,plname){
+ console.log("PLAYLIST ID " + id)
+ $uibModal.open({
+ templateUrl: 'single-playlist.html',
+ controller: 'SinglePlaylistController',
+ controllerAs: 'model',
+ resolve: {
+ id: function () { return id; },
+ plname : function () {return plname;}
+ }
+ });
}
}
diff --git a/src/main/webapp/source/scripts/modules/arhome/components/arhome.template.html b/src/main/webapp/source/scripts/modules/arhome/components/arhome.template.html
index 9adfc848..a35ad431 100644
--- a/src/main/webapp/source/scripts/modules/arhome/components/arhome.template.html
+++ b/src/main/webapp/source/scripts/modules/arhome/components/arhome.template.html
@@ -1,3 +1,10 @@
+
+
+
+
+
+
+
Your Playlists
@@ -20,16 +27,16 @@ Your Playlist is Empty

-
{{ x.playlistName }}
+
{{ x.playlistName }}
-
+
-
+
{{ctrl.errormsg}}
diff --git a/src/main/webapp/source/scripts/modules/arhome/components/modal/single-playlist.controller.js b/src/main/webapp/source/scripts/modules/arhome/components/modal/single-playlist.controller.js
index 8b571fe4..d3349e0e 100644
--- a/src/main/webapp/source/scripts/modules/arhome/components/modal/single-playlist.controller.js
+++ b/src/main/webapp/source/scripts/modules/arhome/components/modal/single-playlist.controller.js
@@ -4,9 +4,9 @@
.module("mllApp.arhome")
.controller("SinglePlaylistController", SinglePlaylistController);
- SinglePlaylistController.$inject = ['arHomeSerivce', 'authenticationService', 'id'];
+ SinglePlaylistController.$inject = ['arHomeSerivce', 'authenticationService', 'id','plname'];
- function SinglePlaylistController(arHomeSerivce, authenticationService, id) {
+ function SinglePlaylistController(arHomeSerivce, authenticationService, id,plname) {
this.authService = authenticationService;
console.log("ID " + id);
var model = this;
@@ -15,7 +15,7 @@
getSongsInPlaylist();
-
+ model.plname=plname;
model.showPlaylist = function(){
}
diff --git a/src/main/webapp/source/scripts/modules/arhome/components/modal/single-playlist.html b/src/main/webapp/source/scripts/modules/arhome/components/modal/single-playlist.html
index 9057e567..c9b57760 100644
--- a/src/main/webapp/source/scripts/modules/arhome/components/modal/single-playlist.html
+++ b/src/main/webapp/source/scripts/modules/arhome/components/modal/single-playlist.html
@@ -1,4 +1,4 @@
-PLAY LIST
+{{model.plname}}