Gives complete control over page title and making it easy to make the app have title for each section, page, and branding with a separator.

Title format goes like this: "PAGE_NAME SEPARATOR SECTION SEPARATOR BRAND".

Constructors

  • Parameters

    • title: Title

      Required to setting title of app (Angular injection).

    • brand: string = 'Savand Bros Chat'

      Brand goes at the end of the title.

    • separator: string = '-'

      Separator is between page name, brand, and section.

    Returns TitleBaseService

Properties

_pageName: null | string = null

Page name goes at the beginning of the title.

_section: null | string = null

Section goes between the page name and brand.

brand: string = 'Savand Bros Chat'

Brand goes at the end of the title.

separator: string = '-'

Separator is between page name, brand, and section.

Accessors

Methods