Time for our second assignment in this course.
In this assignment, since we have worked in this module
with angular services, angular router module and single page applications,
we're going to continue with that same theme in this assignment.
So, as part of this assignment, you'll have three tasks.
The first task is to be able to add in a new service that will enable the provision
of information about their corporate leaders for this restaurant.
So, we have provided you with a JavaScript object array contains details
of all the corporate leaders of this restaurant.
You need to design a service that will enable the various components to be able
to obtain either the list of all the corporate leaders
or the details of the specific leader by using the metrics provided by the leader service.
So that would be your first task in this assignment.
Your second task in this assignment is to integrate
the about component into your single page application.
So, here we have provided you with a starter template for the about component.
You may wish to copy the template code
that we have provided into the about component or HTML file
and then integrate the about component into your angular application.
Now once you do that, you'll be able to navigate to the about components HTML page
and you will see that in this page
you currently have some information already rendered to you.
But then right down below here you will see that
the details of the current corporate leaders should be displayed there.
You need to make use of the leader service
to obtain the details of all the corporate leaders
and then construct the details of the corporate leaders list
and show them here in this about components view.
When you complete the second task,
this is what you will see at the bottom of the about components view.
You will see the list of all the corporate leaders and the details displayed here.
Your third task in this assignment is to add in the featured leaders
to the home component, the home components view,
along with the featured dish and the featured promotion.
You will also show that featured leader,
as shown here, so you will have a featured leader with the details
and the description given below and the image there.
So this is the third task in your second assignment.
After you complete these tasks, it may be a good time for you to do a get comment.
Read the message assignment, too.