mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-05-26 17:24:56 +00:00
Simple project demonstrating ng2 component hosting within ng1-based application (based on official angular-seed repo).
16 lines
315 B
TypeScript
16 lines
315 B
TypeScript
import {Component} from "angular2/core";
|
|
|
|
@Component({
|
|
selector: 'app-navbar',
|
|
template: `
|
|
<nav class="navbar navbar-default navbar-fixed-top">
|
|
<div class="container-fluid">
|
|
<ng-content></ng-content>
|
|
</div>
|
|
</nav>
|
|
`
|
|
})
|
|
export class AppNavBar {
|
|
|
|
}
|