O'Reilly logo

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Angular CLI Recipes

Video Description

A powerful tool that will help you to sail through your Angular apps blazingly fast

About This Video

  • Generate repetitive code and let your creativity flow uninterruptedly.
  • Set up an entire Angular app from scratch within seconds with tips, tricks, and techniques.
  • Quickly add modules, services, guards and other features effortlessly.
  • See your changes in real time and make your development version accessible to others without deploying it

In Detail

Angular CLI is a command-line interface tool you can use to initialize, develop, scaffold, and maintain Angular applications. It provides you with boilerplates and therefore saves you time and effort.

This course will teach you how to generate an Angular application from scratch within seconds, showing you the tips, tricks, and techniques you need. You will learn all about the CLI, ranging from generating a new app to quickly adding component, directives, modules, services, guards, and other features effortlessly. The command-line interface provided by the Angular team will help you generate your Angular applications more effectively than ever. It will also teach you how to run a development environment, run tests for your project, easily add new features, and keep your dependencies up-to-date.

By the end of the course, you'll find a plethora of tips and tricks to improve performance and write better components. You will master using the Angular CLI and generate entire applications from scratch in a matter of seconds.

Table of Contents

  1. Chapter 1 : Introduction and Setup
    1. The Course Overview 00:03:55
    2. What the Angular CLI Solves 00:02:01
    3. Prerequisites 00:01:50
    4. Installing Angular CLI 00:01:28
    5. Verifying Your Setup 00:02:19
  2. Chapter 2 : Getting Started with Angular CLI
    1. Using CLI Commands 00:01:54
    2. Generating a New App with ng new 00:03:02
    3. Understanding the Configuration 00:03:28
    4. Running Tasks 00:03:25
    5. Linting Your Code 00:01:47
  3. Chapter 3 : Generating Code
    1. Generating Modules 00:03:43
    2. Generating Classes 00:02:16
    3. Generating Services 00:03:26
    4. Generating Components 00:06:29
    5. Generating Directives 00:02:59
    6. Generating Pipes 00:04:04
    7. Generating Guards 00:02:09
    8. Generating Libraries 00:05:27
    9. Using Advanced Options 00:04:49
  4. Chapter 4 : Creating Schematics
    1. Introduction to Schematics 00:05:27
    2. Creating Your Own Schematic 00:05:19
    3. Declaring Schematics in Libraries 00:07:28
  5. Chapter 5 : Compiling for Production
    1. Understanding ng build 00:02:59
    2. Configuring Build Options 00:04:47
    3. Building with ng serve 00:03:07
    4. Adding Custom Resources 00:04:45
    5. Using Size Budgets 00:03:12
    6. Managing Configurations 00:04:16
    7. Mastering Internationalization 00:12:32
  6. Chapter 6 : Testing with Angular CLI
    1. Testing in practice 00:05:20
    2. Understanding unit tests – Part 1 00:03:56
    3. Understanding unit tests – Part 2 00:08:27
    4. Understanding unit tests – Part 3 00:05:29
    5. Understanding end-to-end tests 00:08:06
    6. Advanced end-to-end testing 00:01:38
    7. Understanding code metrics 00:03:26
  7. Chapter 7 : Troubleshooting Tips
    1. Debugging Common Scenarios 00:02:22
    2. Solving Networking Issues 00:02:32
    3. Solving Compilation Issues 00:02:32
    4. Solving Dependency Issues 00:03:59