All language subtitles for 3. Exercise Solution

af Afrikaans
sq Albanian
am Amharic
ar Arabic Download
hy Armenian
az Azerbaijani
eu Basque
be Belarusian
bn Bengali
bs Bosnian
bg Bulgarian
ca Catalan
ceb Cebuano
ny Chichewa
zh-CN Chinese (Simplified)
zh-TW Chinese (Traditional)
co Corsican
hr Croatian
cs Czech
da Danish
nl Dutch
en English
eo Esperanto
et Estonian
tl Filipino
fi Finnish
fr French
fy Frisian
gl Galician
ka Georgian
de German
el Greek
gu Gujarati
ht Haitian Creole
ha Hausa
haw Hawaiian
iw Hebrew
hi Hindi
hmn Hmong
hu Hungarian
is Icelandic
ig Igbo
id Indonesian
ga Irish
it Italian
ja Japanese
jw Javanese
kn Kannada
kk Kazakh
km Khmer
ko Korean
ku Kurdish (Kurmanji)
ky Kyrgyz
lo Lao
la Latin
lv Latvian
lt Lithuanian
lb Luxembourgish
mk Macedonian
mg Malagasy
ms Malay
ml Malayalam
mt Maltese
mi Maori
mr Marathi
mn Mongolian
my Myanmar (Burmese)
ne Nepali
no Norwegian
ps Pashto
fa Persian
pl Polish
pt Portuguese
pa Punjabi
ro Romanian
ru Russian
sm Samoan
gd Scots Gaelic
sr Serbian
st Sesotho
sn Shona
sd Sindhi
si Sinhala
sk Slovak
sl Slovenian
so Somali
es Spanish
su Sundanese
sw Swahili
sv Swedish
tg Tajik
ta Tamil
te Telugu
th Thai
tr Turkish
uk Ukrainian
ur Urdu
uz Uzbek
vi Vietnamese
cy Welsh
xh Xhosa
yi Yiddish
yo Yoruba
zu Zulu
or Odia (Oriya)
rw Kinyarwanda
tk Turkmen
tt Tatar
ug Uyghur
Would you like to inspect the original subtitles? These are the user uploaded subtitles that are being translated: 1 00:00:01,480 --> 00:00:01,800 All right. 2 00:00:01,830 --> 00:00:04,060 Hopefully you had some success with this exercise. 3 00:00:04,090 --> 00:00:06,850 So let's go through the solution together right now. 4 00:00:06,850 --> 00:00:10,540 The first thing I'm going to do is open up my collections home module. 5 00:00:10,540 --> 00:00:15,290 I'm going to remove the export inside their inside my collection so module. 6 00:00:15,300 --> 00:00:16,190 Here it is right here. 7 00:00:16,200 --> 00:00:19,830 That's the collection's dot module filed inside the collections directory. 8 00:00:19,860 --> 00:00:24,060 I'll find my list of exports and I will delete it. 9 00:00:24,060 --> 00:00:28,950 And again the reason for that is we are no longer directly making use this component inside of any other 10 00:00:28,950 --> 00:00:29,720 module. 11 00:00:29,790 --> 00:00:34,570 We do not have to export it from the module anymore now second up. 12 00:00:34,600 --> 00:00:41,740 I'm gonna find my collections routing module now will import my components here's my collections routing 13 00:00:41,740 --> 00:00:48,340 module that's the collections dash routing module file at the top I'm going to add an import statement 14 00:00:48,340 --> 00:00:57,740 for elections ohm component from elections home collections home doc component 15 00:01:02,890 --> 00:01:09,260 and then finally four step number three inside of the same file I'm going to add in a routing rule to 16 00:01:09,290 --> 00:01:15,480 only show this component when you use a user is at the path collections go inside this roots object 17 00:01:15,780 --> 00:01:21,310 I'm gonna add in so many routes array I'm going to add in a single object and I'll say whenever a user 18 00:01:21,370 --> 00:01:33,520 is that a path of elections I want to show the component elections component excel. 19 00:01:33,690 --> 00:01:33,990 All right. 20 00:01:34,020 --> 00:01:35,500 So I'll go ahead and save this. 21 00:01:35,500 --> 00:01:40,990 And now to test this out we should be able to open up our browser and navigate to local host two hundred 22 00:01:41,190 --> 00:01:43,000 slash collections. 23 00:01:43,140 --> 00:01:49,170 We should then see our collections component appear on the screen back inside my application. 24 00:01:49,170 --> 00:01:56,050 I'm not going to type in manually because forty two hundred slash collections and I see collections 25 00:01:56,050 --> 00:01:58,380 home appear awesome. 26 00:01:58,410 --> 00:02:00,360 So looks like this is working out just fine. 27 00:02:01,370 --> 00:02:03,370 Now that we've got some routing setup put together. 28 00:02:03,440 --> 00:02:09,410 Let's take a quick pause and continue building out the actual components of our application in the next 29 00:02:09,410 --> 00:02:09,800 video. 2948

Can't find what you're looking for?
Get subtitles in any language from opensubtitles.com, and translate them here.