Created
January 30, 2016 04:11
-
-
Save SirajGadhia/84b57a6eff74950b2ced to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//http://www.siraj360.com/ng2/ :: A single page application developed with Angular 2 (beta) and Bootstrap 4 (alpha). | |
import { Component } from 'angular2/core'; | |
import { CORE_DIRECTIVES } from 'angular2/common'; | |
import { RouterLink } from 'angular2/router'; | |
@Component({ | |
selector: 'header', | |
templateUrl: 'app/components/menu/header.component.html', | |
directives: [CORE_DIRECTIVES, RouterLink] | |
}) | |
export class HeaderComponent { | |
isShowMenu: boolean; | |
ngOnInit() { | |
this.isShowMenu = false; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment