GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Docs
  • Tutorials
  • Playground
  • Reference
  • code
  • Title

This view

  • Original page
  • New address

GeezerVison is showing next.angular.dev — Title • Angular

API

    
      class Title {}
    
    
@param_docany
@returnsTitle

Get the title of the current HTML document.

@returnsstring

Set the title of the current HTML document.

@paramnewTitlestring
@returnsvoid

Description

A service that can be used to get and set the title of a current HTML document.

Since an Angular application can't be bootstrapped on the entire HTML document (<html> tag) it is not possible to bind to the text property of the HTMLTitleElement elements (representing the <title> tag). Instead, this service can be used to set and get the current title value.

You are visitor 01402520 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.