X-Git-Url: https://vcs.fsf.org/?a=blobdiff_plain;ds=sidebyside;f=ang%2FcrmUi.js;h=0b09c60de711e54d60d6e04d823878b09b16f6ae;hb=e8f915814336989a23a09441bb0d18c547d5a15f;hp=216640ce90bb725636f70ea66b07fc7a80e97194;hpb=d01af3b0a007a0c396d1d2c86567e65d0b7bce29;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) {