Getting started with Angular 4 -- Words (326)

Angular2 Angular Angular4
Getting started with Angular 4

Have you heard ! Angular 4 ,in its beta version, is out .Yes believe it .

The First thing to know there will be no Angular 3 ,Google is jumping directly to version 4 but that’s just a matter version number because they want to align with the version of new router designed for Angular framework .

The second thing to know ,don’t freak out and don’t worry because unlike the transition from Angular 1.x to Angular 2 ,this is not a breaking and completely new update .Angular 4 is just Angular 2 with some fixes and improvement just like any normal framework update .

The Angular 4 beta version has been released on December 15,2016

Getting started with Angular 4

The final release of Angular 4 will be on March 2017

How to get started with Angular 4 beta

Angular 4 is still in beta but if you want to test it you can either install it via its GitHub repository at this link or clone this Angular Starter kit from AngularClass which features Angular 2 and Angular 4 (Router, Http, Forms, Services, Tests, E2E, Dev/Prod, HMR, Async/Lazy Routes, AoT via ngc)

So first of all you need to install Node verstion >= 5.0 and NPM >= 3.0

Then open up your terminal under Linux/MAC or command prompt under Windows and then enter the following commands

    git clone --depth 1 angular4project 

Next just cd into your cloned project with

    cd angular4project

Then install all the requirements with npm install

    npm install

Next start your development server with

    npm start

And visit your Angular 4 project at http://localhost:3000 with your browser .

mrnerd is a Web Entrepreneur & Developer, Digital Marketer and a Passionate Blogger. He writes about software and website development,money making tips and SEO etc.. He is a tech addict and a computer geek with a lot of hobbies.