projects
/
examples
/
angular-tour-of-heroes
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
5: Add In-app Navigation
[examples/angular-tour-of-heroes]
/
src
/
app
/
hero-detail
/
hero-detail.component.html
diff --git
a/src/app/hero-detail/hero-detail.component.html
b/src/app/hero-detail/hero-detail.component.html
index
fa00c62
..
512825a
100644
(file)
--- a/
src/app/hero-detail/hero-detail.component.html
+++ b/
src/app/hero-detail/hero-detail.component.html
@@
-6,3
+6,4
@@
<input [(ngModel)]="hero.name" placeholder="Type a name..." />
</div>
</div>
+<button (click)="goBack()">go back</button>