.component('app', {
template:
'<nav>\n' +
' <a>Crisis Center</a>\n' +
' <a ng-link="[\'Heroes\']">Heroes</a>\n' +
'</nav>\n' +
'<ng-outlet></ng-outlet>\n',
$routeConfig: [
{path: '/heroes/...', name: 'Heroes', component: 'heroes'},
]
});