-
-
Save gdyrrahitis/02b6dfa9da3b64fd6f04c9027812ecbd to your computer and use it in GitHub Desktop.
A sample component
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
class HomeComponent { | |
constructor(private $state: ng.ui.IStateService) {} | |
showTodo(id: string) { | |
this.$state.go("todo", { id }); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment