Learn about using the Angular-cli to start a new project, along with importing necessary assets.
- [Instructor] To begin our project,…we're going to use the angular command line interface…to start a new project.…But first if you're command line…is currently running the NG serve command…from the previous project,…simply hit Cntrl+C and hit Y to stop.…Okay, great.…So let's start the new project.…NG new and we'll call this Products.…Okay so let's CD into it.…
Now we know we're going to need animations,…so let's use MPM to install the animations library.…Next we need to generate the components…for this project.…We'll have one for the header,…the products page and a quick about page.…I'll use the keyboard up arrow key,…and simply remove header and add products.…
And one more time.…This one will be named About.…Next we know we're going to be utilizing animations,…so we have to visit the app.module.ts file…and import the necessary animations module…and add it to the imports under the NG module decorator.…Source,…app,…and app modl.ts.…So now let's import,…browser animations module…from angular platform browser…animations.…
- How components work
- Defining HTML templates
- Defining CSS
- Class binding and style binding
- Property binding and event binding
- Creating routes for navigation
Skill Level Intermediate
1. Getting Up and Running with Angular
2. Templating Basics
3. Data Binding
5. Tying It All Together
- 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.