1. Create Angular project as _Mid2017 2. The Angular application should display the following data and...
Question:
1. Create Angular project as _Mid2017
2. The Angular application should display the following data and the last item “Your Name” should be replaced with actual name a. Fields - ID, Product Name and Product Description
3. Create appropriate components, type scripts files and etc.
4. Display a star (*) symbol next to ‘Your Name’ and you’ve to follow *ngIf directive for this
Please refer https://angular.io/guide/quickstart and https://angular.io/tutorial/toh-pt2
Question B (Display Details.)
1) Clicking an item from the above list should display the selected record at the end of the product list with following fields
a. ID – read-only
b. Product Name – display the data in textbox
c. Product Description – display the data in textbox
Note: Refer https://angular.io/tutorial/toh-pt2#selecting-a-hero
Question C (Edit Name and Description)
1) Allow edit the name and description fields
2) Changing the data should respectively reflected on the list
Question D: Answer the following:
1) Explain 3 built-in directives and discuss the directives used in the questions A-C
2) Data binding: Explain Property Binding and Two-way binding, using examples.
Question E: Answer the following:
1) Pipes. Discuss about Pipes and Custom Pipes with examples
2) How do you pass data from one Component to another? Explain, how you implemented that in Question B
Concepts of Database Management
ISBN: 978-1285427102
8th edition
Authors: Philip J. Pratt, Mary Z. Last