code: function _require(dependency) {
          let result;
          try {
              result = require(path.join('ng-apimock', 'node_modules', dependency));
          } catch (ex) {
              result = require(dependency)
          }
          return result;
      }
docs: Require the module by first looking under ng-apimock/node_modules and then in the base path.
  @param dependency The dependency.
  @return {*} result The result
  @private