In this video, learn how to add form functionality through the template-driven approach.
- [Instructor] To make use of the forms module … you need to add it to the list of imports … for your Angular module. … In the app.module.ts file, we can add a new … import statement and bring in the forms module … from the Angular forms scoped package. … Then we can add the forms module to the … imports meditated property array. … The forms module contains all the forms directives and … constructs for working with forms. … With this in place, we are ready to start creating the form. … Our project code for this lesson already has … a media-item-form component set up … in the app module and app component are wired up … to render it for us. … So, we can dive right into working on the new form. … Let's switch over to the … media-item-form.component.html file. … In Angular the template driven approach to building … forms makes use of the templates syntax to build form … interactions all within your template mark up. … With the forms module included in the app, … Angular is going to be on the look out for any …
- What is Angular?
- Working with components
- Binding events and properties
- Getting data to components
- Using directives and pipes
- Creating Angular forms
- Validating form data
- How Angular does dependency injection
- Making HTTP calls
- Styling components
Skill Level Intermediate
Angular: Building an Interfacewith Ray Villalobos2h 20m Intermediate
1. Architecture Overview
3. Directives and Pipes
5. Dependency Injection and Services
8. Styling Components
Next steps1m 20s
- Mark as unwatched
- Mark all as unwatched
Are you sure you want to mark all the videos in this course as unwatched?
This will not affect your course history, your reports, or your certificates of completion for this course.Cancel
Take notes with your new membership!
Type in the entry box, then click Enter to save your note.
1:30Press on any video thumbnail to jump immediately to the timecode shown.
Notes are saved with you account but can also be exported as plain text, MS Word, PDF, Google Doc, or Evernote.