diff --git a/docs/en/Tutorials/Angular/Part-I.md b/docs/en/Tutorials/Angular/Part-I.md index 88b5c8539e..6654694abe 100644 --- a/docs/en/Tutorials/Angular/Part-I.md +++ b/docs/en/Tutorials/Angular/Part-I.md @@ -608,6 +608,7 @@ export class BookListComponent implements OnInit { Replace `book-list.component.html` content as shown below: +{%{ ```html
@@ -631,16 +632,17 @@ Replace `book-list.component.html` content as shown below: - {{ data.name }} - {{ booksType[data.type] }} - {{ data.publishDate | date }} - {{ data.price }} + {{ data.name }} + {{ booksType[data.type] }} + {{ data.publishDate | date }} + {{ data.price }}
``` +}%} > We've used [PrimeNG table](https://www.primefaces.org/primeng/#/table) in this component. diff --git a/docs/en/Tutorials/Angular/Part-II.md b/docs/en/Tutorials/Angular/Part-II.md index ed6afcb947..908bca63e6 100644 --- a/docs/en/Tutorials/Angular/Part-II.md +++ b/docs/en/Tutorials/Angular/Part-II.md @@ -427,6 +427,7 @@ save() { Open the `book-list.component.html` and add modify the `p-table` as shown below: +{%{ ```html @@ -463,6 +464,7 @@ Open the `book-list.component.html` and add modify the `p-table` as shown belo ``` +}%} - Added a `th` for the "Actions" column. - Added `button` with `ngbDropdownToggle` to open actions when clicked the button. @@ -475,11 +477,13 @@ The final UI looks like: Update the modal header to change the title based on the current operation: +{%{ ```html

{{ selectedBook.id ? 'Edit' : 'New Book' }}

``` +}%} ![actions-buttons](images/bookstore-edit-modal.png)