code: function controllerDecorator($delegate) {
    return function(expression, locals, later, ident) {
      if(later && typeof later === 'object') {
        var create = $delegate(expression, locals, true, ident);
        angular.extend(create.instance, later);
        return create();
      }
      return $delegate(expression, locals, later, ident);
    };
  }
docs: /*
  A decorator for ng.$controller to optionally bind properties to the
  controller before invoking the constructor. Stolen from the ngMock.
  
  https://docs.angularjs.org/api/ngMock/service/$controller