@Component({
selector: 'my-video-sort',
- template: require('./video-sort.component.html')
+ templateUrl: './video-sort.component.html'
})
export class VideoSortComponent {
'-name': 'Name - Desc',
'duration': 'Duration - Asc',
'-duration': 'Duration - Desc',
- 'createdDate': 'Created Date - Asc',
- '-createdDate': 'Created Date - Desc'
+ 'createdAt': 'Created Date - Asc',
+ '-createdAt': 'Created Date - Desc'
};
get choiceKeys() {