• Factory.

    KopBob        
    0 Likes0 Commentsjavascript

    currentNgModule.factory('PageTitleService', function ($rootScope) {
        return {
            updateWith: function (title) {
                $rootScope.pageTitle = title;
            }
        }
    });

Comments (0)