Created
February 11, 2017 04:34
-
-
Save beeman/0cb7179c579e0a9188177bfaa4880249 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
a, p, h1, h2, h3 { | |
font-family: "Roboto","Helvetica Neue Light","Helvetica Neue",Helvetica,Arial,"Lucida Grande",sans-serif; | |
color: #546E7A; | |
} | |
a { | |
color: #1976D2; | |
} | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<h1> | |
{{title}} | |
</h1> | |
<h2>Where to go from here?</h2> | |
<ul> | |
<li *ngFor="let link of links"> | |
<a href="{{link.url}}">{{link.label}}</a> | |
</li> | |
</ul> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import { Component, VERSION } from '@angular/core'; | |
@Component({ | |
selector: 'app-root', | |
templateUrl: './app.component.html', | |
styleUrls: ['./app.component.css'] | |
}) | |
export class AppComponent { | |
public title = `Angular ${VERSION.full} works!`; | |
public links = [ | |
{ url: 'https://angular.io/docs/ts/latest/quickstart.html', label: 'Angular Quick Start' }, | |
{ url: 'https://github.com/angular/angular-cli/wiki/Stories', label: 'Angular CLI Story Book' }, | |
{ url: 'https://egghead.io/courses/angular-2-fundamentals', label: 'EggHead\'s Angular 2 Fundamentals' }, | |
] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment