Overwrite the default URL serializer to replace space with plus sign.

Must provide this in app config.

{ provide: UrlSerializer, useClass: SpacePlusUrlSerializer },

Hierarchy

  • DefaultUrlSerializer
    • SpacePlusUrlSerializer

Constructors

Methods

Constructors

Methods

  • Parses a url into a UrlTree

    Parameters

    • url: string

    Returns UrlTree