I have two components that I am working with.
The first component is:
import {Component} from 'angular2/angular2';
import {Navbar} from './navbar';
@Component({
selector: 'app'
template: `<div class="col-md-12">
<navbar></navbar>
</div>`
})
export class App {}
The second component is:
import {Component} from 'angular2/angular2';
@Component({
selector: 'navbar',
template:`<p>Navbar</p>`
})
export class Navbar {}
However, when I view the root (App) component, the navbar is not displaying. What could be causing this issue?