Skip to content

Instantly share code, notes, and snippets.

Avatar

Joginder Singh jogibanger

View GitHub Profile
@jogibanger
jogibanger / 01-controllers-to-components.md
Created Oct 25, 2017 — forked from dimitardanailov/01-controllers-to-components.md
Angular 2 and Typescript. Thank you to John Papa for awesome online course: http://www.johnpapa.net/angular-2-first-look
View 01-controllers-to-components.md

Angular 1

<body ng-controller="StoryController as vm">
  <h3>{{ vm.story.name }}</h3>
  <h3 ng-bind="vm.story.name"></h3>
</body>