@mushy wrote:
Does anyone know what I need to enter in my playlist.html page to get the selected item from the playlist loading in?
The data in the controller is
.controller('PlaylistsCtrl', function($scope, $state, $timeout) {
$scope.playlists = [
{ title: 'Video 1', id: 1, video: 'video/vid1.mp4', duration: '4:00' },
{ title: 'Video 2', id: 2, video: 'video/vid2.mp4', duration: '4:00' },
];Playlists (List of items) <ion-view view-title="My Video List"> <ion-content> <ion-list> <ion-item ng-repeat="playlist in playlists" href="#/app/playlists/{{playlist.id}}"> {{playlist.title}} </ion-item> </ion-list> </ion-content> </ion-view>
How can I get a detail page of each showing title, duration and the video displayed in a HTML window?
Posts: 1
Participants: 1