import { IController } from 'angular';

/**
 * Controller holding the application-logic for <browser-support>
 */
export class BrowserSupportController implements IController {

  public showNotification = false;

  constructor() {
    const ieVersion = document['documentMode'];
    this.showNotification = ieVersion && ieVersion <= 11;
  }
}
