Scroll Top

Getting Started with Angular 2.0 & JavaScript – In 3 Quick Steps

Getting your Trinity Audio player ready...

Angular with JavaScript

As part of the In 3 Quick Steps series, in this article, we will talk about how to get started with JavaScript application development for Angular 2.

If you are looking for TypeScript based development, you shall read Getting Started with Angular 2.0 & TypeScript – In 3 Quick Steps!

While the Angular team has already put together an awesome 5 min Quickstart guide, I found that it would be great if the steps can be further reduced so that, rather than 5 minutes, it takes a minute to get you up and running with your first Angular 2.0 application. And, that’s exactly what we will be doing here – in 3 quick steps!

This article uses Angular’s Quickstart guide and the files/code mentioned there. Hence, all the copyright rules & licensing that applies to the Quickstart guide file/code, it applies to the file/code mentioned in this article, as well.

Step 1: Install Dependencies

    • Install Node.js by running the provided installers based on your target platform

Step 2: Generate the starter application

  • Clone the Quickstart repository from GitHub by running the following command

  • Install required project dependencies

Step 3: Test drive the generated application

From the angular2js-quickstart project folder, run the following command to launch the application in your default browser:

This will run the application and you shall see the following output:

First Angular 2 App

That’s All! We are ready for our Angular 2 development using JavaScript!

Bon Voyage!

Related Posts

Leave a comment

Privacy Preferences
When you visit our website, it may store information through your browser from specific services, usually in form of cookies. Here you can change your privacy preferences. Please note that blocking some types of cookies may impact your experience on our website and the services we offer.