import {Component, Directive} from 'angular2/angular2'; import {App, ActionSheet, IonicApp, IonicView, Register} from 'ionic/ionic'; @IonicView({ template: '' + 'Heading' + '' + '' + '' + '' + '' + '' + '' + '' + '' + `

All Genres

Jan 17 2015

Alternative Blues
New Post
Keep close to Nature's heart... and break clear away, once in awhile, and climb a mountain or spend a week in the woods. Wash your spirit clean.
Posted 5 days ago
` + '
' }) export class FirstPage { constructor(app: IonicApp, actionSheet: ActionSheet) { this.app = app; this.actionSheet = actionSheet; } showMoreMenu() { this.actionSheet.open({ buttons: [ { icon: 'ion-android-share-alt', text: 'Share' }, { icon: 'ion-arrow-move', text: 'Move' } ], destructiveText: 'Delete', titleText: 'Modify your album', cancelText: 'Cancel', cancel: function() { console.log('Canceled'); }, destructiveButtonClicked: () => { console.log('Destructive clicked'); }, buttonClicked: function(index) { console.log('Button clicked', index); if(index == 1) { return false; } return true; } }).then(actionSheetRef => { this.actionSheetRef = actionSheetRef; }); } } @App({ template: ` Menu Your Profile Playlists Artists `, routes: [ { path: '/first', component: FirstPage, root: true } ] }) class MyApp { constructor() { } }