Creating a counter component
Project
src
app.component.ts
app.module.ts
counter.component.ts
main.ts
config.js
index.html
README.md
style.css

backing Plunker

index.html
Preview