title: Ionic 2 - Disable side menu in log in page
body: <p>I intend to disable the swipe gesture for the side menu in the log in page.
  The only change I made is importing the MenuController and set swipeEnable to false in the constructor.</p>
  
  <p>However, after running it, I keep getting a syntax error: Unexpected token (18:47) while parsing file. </p>
  
  <pre><code>import {App, Page, NavController, Nav,NavParams, IonicApp, Storage, LocalStorage, MenuController } from 'ionic-angular';
  import {httpService} from '../../services/httpService';
  import {HelloIonicPage} from '../hello-ionic/hello-ionic';
  import {GettingStartedPage} from '../getting-started/getting-started';
  import {SettingsPage} from '../settings/settings';
  
  @Page({
    templateUrl: 'build/pages/log-in/log-in.html',
    providers: [httpService]
  })
  
  export class LoginPage {
  
    static get parameters(){
       return [[NavController],[httpService],[MenuController]];
     }
  
     constructor(navController, httpService, menu: MenuController) {
  
       this.menu = menu;
       this.navController = navController;
       this.httpService = httpService;
       this.local = new Storage(LocalStorage);
       this.menu.swipeEnable(false);
     }
  }
  </code></pre>
  
  <p>Thanks in advance.</p>