Running the application

To make sure our modifications to the main component, AppComponent, are working as expected and we didn't break anything, let's start our application using the Angular CLI. Open a command line and point it to your project directory. Then, start the CLI in serve mode:

ng serve

If everything goes well, you will have an open web browser that shows Welcome to mac!.

Get Mastering Angular Components now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.