Skip to content

Instantly share code, notes, and snippets.

@IEvangelist
Last active January 12, 2016 18:52
Show Gist options
  • Save IEvangelist/3add69db05a014d2de2c to your computer and use it in GitHub Desktop.
Save IEvangelist/3add69db05a014d2de2c to your computer and use it in GitHub Desktop.
<div class="page-header">
<h1>
MVC, Angular2
<br>
<small>Sample</small>
</h1>
</div>
<nav class="navbar navbar-inverse">
<div class="container-fluid">
<div class="navbar-header">
<a class="navbar-brand" href="#">
<span class="glyphicon glyphicon-sunglasses"></span>
</a>
</div>
<ul *ngIf="routes != null" class="nav navbar-nav">
<li *ngFor="#rt of routes" [class.active]="getLinkStyle(rt)">
<a [routerLink]="[rt.name]">{{rt.name}}</a>
</li>
</ul>
</div>
</nav>
<div class="content padding has-header">
<router-outlet></router-outlet>
</div>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment