function MainCtrl() {
  const main = this;
  main.meaningOfLife = 42;
}

// inject dependencies here
MainCtrl.$inject = [];

if (ON_TEST) {
  require('./Main.ctrl.spec.js')(MainCtrl);
}

@@ -175,12 +175,40 @@
 ainCtrl);%0A%7D%0A
+%0Amodule.exports = MainCtrl;%0A

fix MainCrtl scaffolding