Original SRC:
https://github.com/DeborahK/Angular2-GettingStarted
Application:
I will work on Ubuntu 14.04
Docker, Atom should be installed
$ mkdir -p /projects/dev/
$ cd /projects/dev/
$ git clone https://github.com/marley-angularjs/Angular-2-Getting-Started
$ cd Angular-2-Getting-Started/
$ docker pull marley/centos6-for-dev
$ docker run -i -t -p 80:3000 --name angular2 -v /$(pwd):/projects/angular2 marley/centos6-for-dev /bin/bash
Host machine:
$ chown -R marley /projects/dev/Angular-2-Getting-Started/
$ chmod -R 777 /projects/dev/Angular-2-Getting-Started/
$ cd /projects/dev/Angular-2-Getting-Started/
$ atom .
Source codes from Original Project
$ npm install
$ npm start
Creating the App Component
05_04-Using a Component as a Directive
05_07-Adding Logic with Directives ngFor