Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Angular 2 with TypeScript

Angular 2 with TypeScript

Building modern web apps using Angular 2 and TypeScript

Shravan Kumar Kasagoni

February 27, 2016
Tweet

More Decks by Shravan Kumar Kasagoni

Other Decks in Programming

Transcript

  1. Your Speaker Shravan Kumar Kasagoni Senior Development Engineer @ Pramati

    Technologies Microsoft MVP - Visual Studio and Development Technologies @techieshravan http://theshravan.net http://github.com/techieshravan
  2. Classes class Car { id: number; model: string; constructor(id: number,

    model: string) { this.id = id; this.model = model; } showDetails() { console.log(this.id, this.model); } }
  3. Modules //car.ts export class Car { } //dashboard.ts class Dashboard

    { var car = new Car(100, 'Mustang'); } import {Car} from ‘./car’;