import { Injectable } from '@angular/core' ; @ Injectable ( ) export class ResponsiveNavigationService { public showSidemenu = false ; constructor ( ) { } toggleSidemenu ( ) { this . showSidemenu = ! this . showSidemenu ; } setSidemenu ( value ) { this . showSidemenu = value ; } }