Skip to content

Instantly share code, notes, and snippets.

@sionjlewis
Last active January 8, 2017 13:02
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save sionjlewis/c23094cedfccbdfcbab8a2aaf32da339 to your computer and use it in GitHub Desktop.
Save sionjlewis/c23094cedfccbdfcbab8a2aaf32da339 to your computer and use it in GitHub Desktop.
Hello Angular World: code snippet for article (http://www.sjlewis.com). The complete source code and project files can be found here: https://github.com/sionjlewis/Hello.Angular.World
import { Component } from '@angular/core';
@Component({
selector: 'my-app',
template: `<h1>Hello {{name}} World</h1>`,
})
export class AppComponent { name = 'Angular'; }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment