message: Removes unnecesary injections
diff: -import {ChangeDetectorRef, Component, Input, OnInit, ViewChild} from '@angular/core';
  +import {Component, Input, OnInit, ViewChild} from '@angular/core';
  import {IFreeTextUnit} from '../../../../../../../shared/models/units/IFreeTextUnit';
  import {MdDialog, MdSnackBar} from '@angular/material';
  import {FreeTextUnitService} from '../../../shared/services/data.service';
  @@ -27,8 +27,7 @@ export class FreeTextUnitFormComponent implements OnInit {
  constructor(private freeTextUnitService: FreeTextUnitService,
  private snackBar: MdSnackBar,
  - public dialog: MdDialog,
  - private appRef: ChangeDetectorRef) {
  + public dialog: MdDialog) {
  }
  ngOnInit() {
  @@ -91,7 +90,6 @@ export class FreeTextUnitFormComponent implements OnInit {
  if (typeof result !== 'undefined') {
  this.model.markdown = result;
  }
  - this.appRef.detectChanges();
  });
  }
  