<div>
	Enter a new book:<p>
	Name: <input type="text" [(ngModel)]="newBook.name"/><br>
	Author: <input type="text" [(ngModel)]="newBook.author"/><br>
	Publisher: <input type="text" [(ngModel)]="newBook.publisher"/><br>
	Link: <input type="text" [(ngModel)]="newBook.link"/><br>
	<button (click)="saveBook()">Save</button>
</div>

<div>{{ message }}</div>

Number of books: {{ books.length }}

<hr>

<table>
	<tr *ngFor="let book of books | sort">
		<td><A href="{{book.link}}">{{book.name}}</A></td>
		<td>{{book.author}}</td>
		<td>{{book.publisher}}</td>
		<td><a href="{{book.link}}">link</a></td>
	</tr>
</table>