Created
June 29, 2015 13:34
-
-
Save tcarlsen/8521f16a809a3275e6af 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
import {Component, View} from 'angular2/angular2'; | |
import {Http, httpInjectables} from 'angular2/http'; | |
@Component({ | |
selector: 'home', | |
appInjector: [ | |
httpInjectables | |
] | |
}) | |
@View({ | |
templateUrl: 'templates/home.html' | |
}) | |
class Home { | |
events: string; | |
constructor(http: Http) { | |
//logic | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment