docs: function getDependency(dependency) {
              if (dependency) {
                  return angular.isString(dependency) ? $injector.get(dependency) : dependency;
              }
  
              return undefined;
          }