AngularJS 2 provides advanced features for building single-page applications: declarative templates, two-way data binding, Typescript support, and dependency injection. And instead of the controllers typical of MVC architecture, AngularJS 2 now offers components. It's a great update, suitable for mobile and web developers alike.
In this tech demo, I have gained advanced understanding of making an application from scratch in AngularJS 2 working with modules, events, styling content with CSS, and creating components and subcomponents and also how to change content dynamically using data pipes.
- Make sure you have these installed
- Clone this repository into your local machine using the terminal (mac) or Gitbash (PC)
> git clone https://github.com/planetoftheweb/angular2.git
- CD to the folder
cd angular2
- Run
> npm-install
to install the project dependencies - Install gulp.js via the Mac terminal or Gitbash on a PC
> npm install -g gulp
- Run the Gulp command
> gulp
- Fire up your browser at
http://localhost:8080