1
00:00:03,810 --> 00:00:08,410
Time for our second assignment in this course.

2
00:00:08,410 --> 00:00:12,945
In this assignment, since we have worked in this module

3
00:00:12,945 --> 00:00:18,992
with angular services, angular router module and single page applications,

4
00:00:18,992 --> 00:00:22,899
we're going to continue with that same theme in this assignment.

5
00:00:22,899 --> 00:00:26,870
So, as part of this assignment, you'll have three tasks.

6
00:00:26,870 --> 00:00:38,000
The first task is to be able to add in a new service that will enable the provision

7
00:00:38,000 --> 00:00:43,935
of information about their corporate leaders for this restaurant.

8
00:00:43,935 --> 00:00:49,450
So, we have provided you with a JavaScript object array contains details

9
00:00:49,450 --> 00:00:53,780
of all the corporate leaders of this restaurant.

10
00:00:53,780 --> 00:00:59,859
You need to design a service that will enable the various components to be able

11
00:00:59,859 --> 00:01:04,780
to obtain either the list of all the corporate leaders

12
00:01:04,780 --> 00:01:12,754
or the details of the specific leader by using the metrics provided by the leader service.

13
00:01:12,754 --> 00:01:17,540
So that would be your first task in this assignment.

14
00:01:17,540 --> 00:01:21,120
Your second task in this assignment is to integrate

15
00:01:21,120 --> 00:01:25,805
the about component into your single page application.

16
00:01:25,805 --> 00:01:32,084
So, here we have provided you with a starter template for the about component.

17
00:01:32,084 --> 00:01:35,170
You may wish to copy the template code

18
00:01:35,170 --> 00:01:39,025
that we have provided into the about component or HTML file

19
00:01:39,025 --> 00:01:45,644
and then integrate the about component into your angular application.

20
00:01:45,644 --> 00:01:50,754
Now once you do that, you'll be able to navigate to the about components HTML page

21
00:01:50,754 --> 00:01:52,951
and you will see that in this page

22
00:01:52,951 --> 00:01:56,780
you currently have some information already rendered to you.

23
00:01:56,780 --> 00:02:00,025
But then right down below here you will see that

24
00:02:00,025 --> 00:02:05,055
the details of the current corporate leaders should be displayed there.

25
00:02:05,055 --> 00:02:07,510
You need to make use of the leader service

26
00:02:07,510 --> 00:02:11,777
to obtain the details of all the corporate leaders

27
00:02:11,777 --> 00:02:17,590
and then construct the details of the corporate leaders list

28
00:02:17,590 --> 00:02:23,039
and show them here in this about components view.

29
00:02:23,039 --> 00:02:25,615
When you complete the second task,

30
00:02:25,615 --> 00:02:31,278
this is what you will see at the bottom of the about components view.

31
00:02:31,278 --> 00:02:37,250
You will see the list of all the corporate leaders and the details displayed here.

32
00:02:37,250 --> 00:02:43,650
Your third task in this assignment is to add in the featured leaders

33
00:02:43,650 --> 00:02:47,500
to the home component, the home components view,

34
00:02:47,500 --> 00:02:53,604
along with the featured dish and the featured promotion.

35
00:02:53,604 --> 00:02:56,379
You will also show that featured leader,

36
00:02:56,379 --> 00:03:00,354
as shown here, so you will have a featured leader with the details

37
00:03:00,354 --> 00:03:06,620
and the description given below and the image there.

38
00:03:06,620 --> 00:03:13,715
So this is the third task in your second assignment.

39
00:03:13,715 --> 00:03:20,164
After you complete these tasks, it may be a good time for you to do a get comment.

40
00:03:20,164 --> 00:03:23,419
Read the message assignment, too.