This commit is contained in:
Adam Bradley
2015-05-28 10:51:04 -05:00
parent 56ab2b2648
commit 087f770ef6
2 changed files with 2 additions and 2 deletions

View File

@ -8,7 +8,7 @@ import {NavController, NavParams, NavbarTemplate, Navbar, Content, Nav, NavPane,
import {HackerNews} from '../hn' import {HackerNews} from '../hn'
@Component({ selector: 'top-stories' }) @Component({ selector: 'ion-view' })
@View({ @View({
templateUrl: 'pages/single.html', templateUrl: 'pages/single.html',
directives: [NavbarTemplate, Navbar, Content, NgFor, List, Item] directives: [NavbarTemplate, Navbar, Content, NgFor, List, Item]

View File

@ -24,7 +24,7 @@ export class Story {
} }
@Component({ @Component({
selector: 'top-stories' selector: 'ion-view'
}) })
@View({ @View({
templateUrl: 'pages/top.html', templateUrl: 'pages/top.html',