A component for manipulating page title.
A component for manipulating page title.
<div ng-app="test">
<h4>Open the example in a separate tab to see how tab title changes.</h4>
<!--It is better to use this directive with <title> tag in your <head> section.-->
<div rg-page-title="App name"></rg-page-title>
</div>
import angular from 'angular';
import TitleNg from '@jetbrains/ring-ui/components/title-ng/title-ng';
angular.module('test', [TitleNg]).
run(function (pageTitle) {
pageTitle.addElement('Some page');
});