This repository shows a simple Angular 2 calculator demonstrating the use of custom component, ngfor, http, service, dependency injection, Map @input @output Polymorphism in typescript and data binding
live demo https://plnkr.co/edit/SESJ4g?p=preview
here.
Follow the following steps and you're good to go! Important: Typescript and npm has to be installed on your machine!
1: Clone repo
git clone https://github.com/mguesmia/angularjs2Calculator.git
2: Install packages
npm install
3: Start server (includes auto refreshing) and gulp watcher
npm start