Uneventful
    Preparing search index...
    • Experimental

      Set the cached singleton instance for a given factory. (e.g. for testing)

      All subsequent calls to $(factory) will return the given result, until manually set again, reset via $cache.unset, or cleared by newRoot().

      Type Parameters

      • T

      Parameters

      Returns void