Angular 2 Tips for Beginners

Angular 2 is out and if you haven’t, you should definitely check out, because the most valuable beginner material is in their Getting Started guide and the following Tour of Heroes.

Angular projects require quite a bit of setup with Angular 2, unlike most of Angular 1, which is a little inconvenient if you just quickly want to try out a couple of things and test the framework to see if it fits your needs, luckily there is a angular-cli that creates a boilerplate project for you whenever you feel like it.

Angular CLI


Getting started with a fresh Angular project is pretty easy using angular-cli. Basically it takes care of initialising an Angular project including Typescript, webpack bundling and development server support.

npm -g install angular-cli
ng new awesome-project
cd awesome-project
npm i
ng serve

Continue reading “Angular 2 Tips for Beginners”