From 367024ed3a03a6ee945ad28db65ca1516b963753 Mon Sep 17 00:00:00 2001 From: mehmet-erim Date: Mon, 25 Nov 2019 13:22:31 +0300 Subject: [PATCH] docs: add a heading --- docs/en/Tutorials/Angular/Part-II.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/docs/en/Tutorials/Angular/Part-II.md b/docs/en/Tutorials/Angular/Part-II.md index 4c147ad9bd..1dbfe9b5cd 100644 --- a/docs/en/Tutorials/Angular/Part-II.md +++ b/docs/en/Tutorials/Angular/Part-II.md @@ -249,12 +249,13 @@ export class BookListComponent implements OnInit { > The `NgbDateAdapter` converts Datepicker value to `Date` type. See the [datepicker adapters](https://ng-bootstrap.github.io/#/components/datepicker/overview) for more details. +#### Create the Book Type Array Open the `book-list.component.ts` and then create an array, named `bookTypeArr`: ```js //... -form: FormGroup; +booksType = Books.BookType; bookTypeArr = Object.keys(Books.BookType).filter( bookType => typeof this.booksType[bookType] === 'number'