Skip to content

Instantly share code, notes, and snippets.

@SirajGadhia
Created January 30, 2016 04:11
Show Gist options
  • Save SirajGadhia/84b57a6eff74950b2ced to your computer and use it in GitHub Desktop.
Save SirajGadhia/84b57a6eff74950b2ced to your computer and use it in GitHub Desktop.
//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