Skip to content
This repository was archived by the owner on Jan 10, 2025. It is now read-only.
This repository was archived by the owner on Jan 10, 2025. It is now read-only.

remove listener on destroy #13

@cfey

Description

@cfey

Every main view of my application has a view-title, but some have to wait for an AJAX call to come back

For example
"UserX - myApp"
when I go to UserY, the view title vanishes, so the default html title will be displayed which is the URL.
Then when the user is loaded, the ng-if will be rendered and just then the title shows "UserY - myApp"

Removing delete $rootScope.viewTitle fixed it for me

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions