dm-code/dm-web-assets/src/main/controllers/HeaderController.js
/**
         * Initializes the controller.
         * 
         * Adds a $watch to the digest cycle. Updates the title of the
         * controller from the title set in the PageService.
         */
Initializes the controller.

Adds a $watch to the digest cycle. Updates the title of the
controller from the title set in the PageService.
Initializes the controller . Adds a $watch to the digest cycle . Updates the title of the controller from the title set in the PageService .
function initialize()
        {
            $scope.$watch(function()
            {
                self.title = PageService.title;
            });
        }
function initialize ( ) { $scope . $watch ( function ( ) { self . title = PageService . title ; } ) ; }
Initializes the controller.
Initializes the controller .