Categories
Angular JavaScript Programming Tutorials Web Dev

How to create a new component in Angular 2

In this tutorial, which is meant for beginners, I’m gonna teach you the fundamentals of Angular 2, and in particular how to create a new component, the first thing when learning this framework.

The JavaScript programming language

These are the prerequisites: if you haven’t done before, go ahead and install Node.js https://nodejs.org from the main website, bundled with it you will find NPM, which is node package manager, you’re gonna need it. Then check if the installation was correct: