Join Ray Villalobos for an in-depth discussion in this video Using the exercises for this course, part of Learning Angular.
- [Instructor] All of the files for this course are freely available in GitHub for all users at this URL. In GitHub you'll see that the project is organized into branches. Each branch corresponds to a video in the course. They are named according to the video they correspond to. So if you see a branch that starts with a name like 01_03, that means that the branch corresponds to the first chapter and refers to the third video in that chapter. Also, if you see an e at the end of the name, that's how the files look at the end of the video.
The best way to work with a project is to clone all the branches at once. In order to do that you'll need Node.js, as well as Git, installed. You can find Node.js and download the installer at this URL. And you can find Git and download the installer for your platform at this URL. When you install Git, make sure you at the Git BASH terminal in Windows, it makes running the commands more consistent. Now normally at this point, I tell you to go ahead and download everything into your local directories, including all of the branches for this course, however, working with Angular can be a little bit different and in some platforms, it creates some issues.
So what I'm going to say is use the reference files in GitHub to sort of pull up any of the code that I work on on this course and you can compare it with your own course. You're going to want to do things sequentially, you need to install the CLI as well as some other things. And I show you how to do that in individual videos later on in the course, so just copying this GitHub Repository is not going to work as usual. Now you can still go to any of the branches in this video, so if you want to look at how the code looks at the end of the second chapter, fourth video, you can click right here.
And then you can navigate to any of these folders, so you can go to the source folder and then maybe pull up the app folder and take a look at how the app.components.ts file was looking. GitHub will still allow you to copy and paste the code if you need to. Although copying all these files to your local directory might not work as usual, if you watch each of the videos, you'll be able to do these steps in sequence and you can always use the GitHub website to compare how that looks with your own code.
- What is Angular?
- Working with templates and events
- Using CLI generated components
- Binding data to templates
- Working with two-way data binding
- Using lifecycle methods
- Creating subcomponents