Join Victor Mejia for an in-depth discussion in this video Generating models, part of Learning the Angular CLI.
- [Instructor] If you wish to generate models…to represent entities in your application,…a symbol class will suffice,…and the CLI allows you to generate classes.…Suppose we are in need of a contact model.…We can use the ng generate class command…and then the name of the model.…We want to place the models in a models folder.…A symbol class file was generated…with an empty implementation that you can then extend.…
Author
Released
2/23/2018- Installing and using the Angular command-line interface (CLI)
- Creating new Angular projects
- Adding app assets and app libraries
- Customizing the development server
- Generating Angular application code
- Building Angular applications
- Test running options
- Ejecting from the CLI
Skill Level Intermediate
Duration
Views
Related Courses
-
Angular 2: Widget-Based Architectures
with Derek Peruo52m 18s Intermediate -
Angular 2 Essential Training
with Justin Schwartzenberger2h 48m Intermediate -
Angular 2 Testing and Debugging
with Derek Peruo1h 15m Intermediate
-
Introduction
-
Welcome58s
-
What you should know1m 29s
-
-
1. Exploring the Angular Command-Line Interface (CLI)
-
Installing the CLI1m 39s
-
Using the CLI1m 17s
-
2. Creating New Angular Projects
-
The ng new command1m 10s
-
Adding app libraries3m 25s
-
-
3. Serving Angular Applications for Development
-
The ng serve command2m 25s
-
-
4. Generating Angular Application Code
-
Generating services1m 25s
-
Generating pipes49s
-
Generating route guards6m 4s
-
5. Building Angular Applications
-
The ng build command1m 15s
-
Setting up build scripts1m 2s
-
6. Running Tests
-
Test run options1m 43s
-
Testing workflow3m 7s
-
7. Ejecting from the Angular CLI
-
Ejecting from the CLI1m 28s
-
-
Conclusion
-
Next steps49s
-
- 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.
CancelTake 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.
Share this video
Embed this video
Video: Generating models