Join Justin Schwartzenberger for an in-depth discussion in this video Using the exercise files, part of Angular 2 Forms: Data Binding and Validation.
- [Instructor] This course doesn't use any exercise files. However, I have created a GitHub repo at the URL below that you can use to pull a copy of the project files used in this course. If you have a GitHub account, feel free to fork the repo to be able to work on your own version of it if you like. To run the project locally, you will need a few things installed, beginning with Git. You can find Git on the official site at the URL below.
If you have not used Git before, I would recommend checking out the course Up and Running with Git and GitHub by Ray Villalobos at the link below. The project code requires Node, an NPM, to be installed locally. You can visit the official node.js site at the link below for details on downloading and installation. If you are unfamiliar with NPM and how it works, I recommend you check out the course Up and Running with NPM, the Node Package Manager with Ray Villalobos.
The project code also requires Gulp to be installed locally, as that will be used to execute the build process and launch the application. You can visit the official Gulp site at the link below to get that installed. The project code has a ReadMe.md file that contains a simple walkthrough for setting up your environment and the commands to run to work on the code, including all of the stuff I just mentioned.
The project code from the GitHub repository has a branch for each video. Only one NPM install call is needed to get the Node modules installed, and from there, you can simply check out branches to follow along with the project files for each video. If you're viewing this course on a mobile device or a set-top device, that's okay. You can still follow along by watching how I use the files. Finally, I'm going to be using Visual Studio Code during this course, but there's nothing specific to that editor in the material I will cover, and you can feel free to use whatever editor you like.
- Building an Angular form
- Creating a model-driven form
- Using the three fundamental form building blocks: Controls, groups, and arrays
- Handling different input types: Text, checkboxes, selections, and radio input
- Adding change detection to your forms
- Creating custom validations