X-Git-Url: https://vcs.fsf.org/?a=blobdiff_plain;f=ang%2FcrmUi.js;h=0b09c60de711e54d60d6e04d823878b09b16f6ae;hb=0e815c924eac4b6a67c477280a38e78ee79c703d;hp=216640ce90bb725636f70ea66b07fc7a80e97194;hpb=4ac1772d31cffe0b198aa491f4daad7cfa9f7c93;p=civicrm-core.git diff --git a/ang/crmUi.js b/ang/crmUi.js index 216640ce90..0b09c60de7 100644 --- a/ang/crmUi.js +++ b/ang/crmUi.js @@ -1047,6 +1047,9 @@ // Sets document title & page title; attempts to override CMS title markup for the latter // WARNING: Use only once per route! + // WARNING: This directive works only if your AngularJS base page does not + // set a custom title (i.e., it has an initial title of "CiviCRM"). See the + // global variables pageTitle and documentTitle. // Example (same title for both):

{{ts('Hello')}}

// Example (separate document title):

{{ts('Hello')}}

.directive('crmPageTitle', function($timeout) {