to understand what you want to use as the default page of the app.ts page and the loaded page2 by pressing Page2 ?
Option 1: quick fix problem
Solving the current console error, you can add to your app.route.ts
import { App} from './app'; const routes: RouterConfig = [ { path: '', component: App, useAsDefault: true } { path: 'page2', component: Page2 } ];
And the result will be

But you will see that your app.ts html will download twice at boot time! which is not a good solution!
Option 2:
As I use in my project, I recommended that you create a new home page as the default page. Then call Page2 in app.ts
Here is Plnkr http://plnkr.co/edit/vzl9lw
Will it fit your requirements!
source share