Tag Archives: basics

Setting up the environment for AngularJS 2

First things first, when setting up angularJS 2 on OSX for the first time, you need to install two things:

  1. Typescript
  2. Typings

Install Typescript by running
sudo npm install -g typescript

Install Typings by running
sudo npm install -g typings

What is Typings you ask?

Typings is a module for Typescript that lets you use external javascript plugins, ‘natively’ in Typescript. Doing so will make them fully compatible.