Skip to content

Instantly share code, notes, and snippets.

@elmarputz
Created March 15, 2019 11:04
Show Gist options
  • Save elmarputz/61e7db75cdb5196a21438f0257e78961 to your computer and use it in GitHub Desktop.
Save elmarputz/61e7db75cdb5196a21438f0257e78961 to your computer and use it in GitHub Desktop.
booklist
ngOnInit() {
this.books = [
new Book(1,
'9783864903571',
'Angular',
[new Author(1,'Johannes', 'Hoppe'), new Author(2,'Danny','Koppenhagen'),
new Author(3,'Ferdinand','Malcher'), new Author(4,'Gregor', 'Woiwode')],
new Date(2017, 3, 1),
1,
'Grundlagen, fortgeschrittene Techniken und Best Practices mit TypeScript - ab Angular 4, inklusive NativeScript und Redux',
5,
[new Image(1,'https://ng-buch.de/cover2.jpg', 'Buchcover')],
'Mit Angular setzen Sie auf ein modernes und modulares...'
),
new Book(2,
'9783864901546',
'AngularJS',
[new Author(5,'Philipp', 'Tarasiewicz'),new Author(6,'Robin', 'Böhm')],
new Date(2014, 5, 29),
1,
'Eine praktische Einführung',
5,
[new Image(2,'https://ng-buch.de/cover1.jpg', 'Buchcover')],
'Dieses Buch führt Sie anhand eines zusammenhängenden Beispielprojekts...'
)
];
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment