How To Install Angular 2
AngularJS is a structural framework for dynamic web apps. It lets you use HTML as your template language and lets you extend HTML's syntax to express your application's components clearly and succinctly. Angular's data binding and dependency injection eliminate much of the code you would otherwise have to write.
I got this right here so i need to extract it
so once you have it extracted you're gonna get this right here
and for some reason what get hub does is it actually takes your files and put it
in another file with the same name
so you essentially have an extra file that you don't need
so again if you click your main extraction file inside here this is
actually the one you want and you can see when you click this that those are
all the nice juicy files
so take this file and move it to somewhere either on your desktop or some
folder and you can actually rename this to whatever you want so let me go ahead
and rename it to angular 2 template a name at YouTube
all right so I'm actually going to move this to somewhere on my desktop
alright guys so now go ahead and open up that directory in any ide that you want
i am going to be using webstorm for these stories I'm sure a lot of you guys
are going to be using sublime
you can even use Notepad if you want i don't recommend it but again just any
editor
whatever one you feel comfortable with and in the next video what I'm going to
do is I'm actually going to go through each of these files and directories and
talk us through what each one of them do and then you're going to have a basic
understanding of all the different pieces of angular 2 application but for
right now just so you guys have kind of an idea of what we're about to do next
if you click package Jason I already wrote all the dependencies and if you
guys don't even know what dependencies are there pretty much just extra files
that we need in order for our program to work
we depend on those files so we actually don't have these downloaded or installed
yet so that's why I told you guys to install know Jas because it came with
the tool called npm in its a special tool for downloading these dependencies
so you use that tool from the command line and if you're using webstorm then
you can just pop up in this terminal and it comes with like a
bill in command line right here which is pretty awesome but if you don't then we
can use this
go ahead and navigate to wherever you have your project and I have mine on my
desktop in a folder called projects and right here anywhere to template youtube
now a cool little trick is if you're on Windows and you hold down the shift key
you can right click and hit open command window here so that way you don't have
to actually navigate to it
so you know CBC you guys like a two seconds but hey
4:58two seconds two seconds and from here just go ahead and type npm install so
whenever you run this command what it does is actually looks for this file
called package Jason and it looks through and sees what dependencies
you need to have installed so installs those in this directory right here so it
actually made this folder called node modules and look at this
how awesome is this tool in that way we don't have to download all these one by
one we do all in one big shebang
how easy was that so it's going to go ahead and download all those so I'm
going to pause the video and look at that actually didn't even need to pause
the video because it took like five seconds but whatever
so we have everything we needed installed now I'm just going to hit CLS
just to clear my screen now
well I also did is to help us out with development
what people usually do is they write a little bit of code and then they save it
and then they tested in browser and then
all right working on something else right a little bit of coats more maybe
edit some things
save it refresh your browser yada yada yada
well well i did is i actually set this up to use this test server right here
and instead of having to do that
all we have to do is edit our code and whenever working with our project it
gets updated in the browser automatically so I already included all
of this for your development environment so just type n p.m. start and that's
going to start your
development server it's called light server and it's going to automatically
update in the browser so just go ahead and head start
run enter and it actually should pop up in your browser
whatever your default browser is so look at that in my essay guys can see all
right so boom roasted
Что делает видео по-настоящему запоминающимся? Наверное, та самая атмосфера, которая заставляет забыть о времени. Когда вы заходите на RUVIDEO, чтобы посмотреть онлайн «How To Install Angular 2», вы рассчитываете на нечто большее, чем просто загрузку плеера. И мы это понимаем. Контент такого уровня заслуживает того, чтобы его смотрели в HD 1080, без дрожания картинки и бесконечного буферизации.
Честно говоря, Rutube сегодня — это кладезь уникальных находок, которые часто теряются в общем шуме. Мы же вытаскиваем на поверхность самое интересное. Будь то динамичный экшн, глубокий разбор темы от любимого автора или просто уютное видео для настроения — всё это доступно здесь бесплатно и без лишних формальностей. Никаких «заполните анкету, чтобы продолжить». Только вы, ваш экран и качественный поток.
Если вас зацепило это видео, не забудьте взглянуть на похожие материалы в блоке справа. Мы откалибровали наши алгоритмы так, чтобы они подбирали контент не просто «по тегам», а по настроению и смыслу. Ведь в конечном итоге, онлайн-кинотеатр — это не склад файлов, а место, где каждый вечер можно найти свою историю. Приятного вам отдыха на RUVIDEO!
Видео взято из открытых источников Rutube. Если вы правообладатель, обратитесь к первоисточнику.