All language subtitles for 9. Module Property Definitions

af Afrikaans
ak Akan
sq Albanian
am Amharic
ar Arabic Download
hy Armenian
az Azerbaijani
eu Basque
be Belarusian
bem Bemba
bn Bengali
bh Bihari
bs Bosnian
br Breton
bg Bulgarian
km Cambodian
ca Catalan
ceb Cebuano
chr Cherokee
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
ee Ewe
fo Faroese
tl Filipino
fi Finnish
fr French
fy Frisian
gaa Ga
gl Galician
ka Georgian
de German
el Greek
gn Guarani
gu Gujarati
ht Haitian Creole
ha Hausa
haw Hawaiian
iw Hebrew
hi Hindi
hmn Hmong
hu Hungarian
is Icelandic
ig Igbo
id Indonesian
ia Interlingua
ga Irish
it Italian
ja Japanese
jw Javanese
kn Kannada
kk Kazakh
rw Kinyarwanda
rn Kirundi
kg Kongo
ko Korean
kri Krio (Sierra Leone)
ku Kurdish
ckb Kurdish (Soranî)
ky Kyrgyz
lo Laothian
la Latin
lv Latvian
ln Lingala
lt Lithuanian
loz Lozi
lg Luganda
ach Luo
lb Luxembourgish
mk Macedonian
mg Malagasy
ms Malay
ml Malayalam
mt Maltese
mi Maori
mr Marathi
mfe Mauritian Creole
mo Moldavian
mn Mongolian
my Myanmar (Burmese)
sr-ME Montenegrin
ne Nepali
pcm Nigerian Pidgin
nso Northern Sotho
no Norwegian
nn Norwegian (Nynorsk)
oc Occitan
or Oriya
om Oromo
ps Pashto
fa Persian
pl Polish
pt-BR Portuguese (Brazil)
pt Portuguese (Portugal)
pa Punjabi
qu Quechua
ro Romanian
rm Romansh
nyn Runyakitara
ru Russian
sm Samoan
gd Scots Gaelic
sr Serbian
sh Serbo-Croatian
st Sesotho
tn Setswana
crs Seychellois Creole
sn Shona
sd Sindhi
si Sinhalese
sk Slovak
sl Slovenian
so Somali
es Spanish
es-419 Spanish (Latin American)
su Sundanese
sw Swahili
sv Swedish
tg Tajik
ta Tamil
tt Tatar
te Telugu
th Thai
ti Tigrinya
to Tonga
lua Tshiluba
tum Tumbuka
tr Turkish
tk Turkmen
tw Twi
ug Uighur
uk Ukrainian
ur Urdu
uz Uzbek
vi Vietnamese
cy Welsh
wo Wolof
xh Xhosa
yi Yiddish
yo Yoruba
zu Zulu
Would you like to inspect the original subtitles? These are the user uploaded subtitles that are being translated: 1 00:00:01,290 --> 00:00:06,630 Inside of our app module and inside of our collections module we've now seen this energy module thing. 2 00:00:06,840 --> 00:00:10,560 And as I mentioned there's a couple of different properties that are going to pass into this thing to 3 00:00:10,560 --> 00:00:13,200 customize how this module behaves in this video. 4 00:00:13,200 --> 00:00:19,230 I want to give you a quick definition of what these declarations imports exports and providers and bootstrap 5 00:00:19,350 --> 00:00:22,020 what are the all those things what are they doing for us. 6 00:00:22,020 --> 00:00:24,070 Well each of them has a very distinct purpose. 7 00:00:24,180 --> 00:00:28,110 At the end of the day you and I only really have to care about the first three right here. 8 00:00:28,140 --> 00:00:31,080 So declarations imports and exports. 9 00:00:31,080 --> 00:00:36,060 The goal of declarations is to list out all the different components types and directives that are created 10 00:00:36,060 --> 00:00:37,760 inside that module. 11 00:00:37,770 --> 00:00:43,300 The list of declarations is going to be updated automatically for you whenever you generate a new component. 12 00:00:43,300 --> 00:00:47,130 And we've already seen that in action inside of our collections module. 13 00:00:47,250 --> 00:00:53,520 For example the instant that we generated the collections home component that component was automatically 14 00:00:53,520 --> 00:00:56,030 added to this list of declarations right here. 15 00:00:56,040 --> 00:01:02,120 So in general you don't really have to manage that list of declarations next one is imports. 16 00:01:02,130 --> 00:01:06,030 That is the list of other modules that our module depends upon. 17 00:01:06,270 --> 00:01:11,790 So in our case any application that we're working on right now we listed out both the elements module 18 00:01:11,910 --> 00:01:15,470 and the collections module as imports inside of our app module. 19 00:01:15,480 --> 00:01:21,540 That means that our app module depends upon elements and collections. 20 00:01:21,560 --> 00:01:23,050 Next up is exports. 21 00:01:23,060 --> 00:01:28,830 So as we've seen that is the list of components types and directives that our module is declaring. 22 00:01:28,850 --> 00:01:34,850 And with that we want to make available to other modules whenever we import one module into another. 23 00:01:34,850 --> 00:01:38,460 We only get access to the things that are listed as exports. 24 00:01:38,570 --> 00:01:40,120 We don't list something as an export. 25 00:01:40,190 --> 00:01:47,620 It will not be imported into another module then finally we have providers and bootstrap providers is 26 00:01:47,620 --> 00:01:52,070 a deprecated way of connecting modules and services together. 27 00:01:52,130 --> 00:01:56,100 We really do not need to worry about providers in any way shape or form. 28 00:01:56,110 --> 00:01:59,960 You can pretty much just ignore it and then bootstrap. 29 00:02:00,020 --> 00:02:04,820 That is only used by the app module that declares the module where mean the component that is going 30 00:02:04,820 --> 00:02:09,110 to be first rendered onto the screen when our application first starts up. 31 00:02:09,240 --> 00:02:11,770 We're only ever going to see that inside of our app module. 32 00:02:11,780 --> 00:02:15,060 Here's my at module right here and there's the bootstrap property. 33 00:02:15,230 --> 00:02:17,230 We're never going to have to mess around with that thing at all. 34 00:02:18,700 --> 00:02:18,980 OK. 35 00:02:19,030 --> 00:02:21,780 So that's just a couple notes on what all these different properties are. 36 00:02:21,780 --> 00:02:24,270 Another quick pause and we'll see you in just a minute. 3919

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