Skip to content

Is there any feauture for clearing just current history in $navigate navHistory ? #78

@VinodLouis

Description

@VinodLouis

Hello,
Thanks for your wonderful plugin, I just wanted to ask you that does the plugin contains any facility of clearing (deleting current) page history only.

$navigate.eraseHistory() is going to erase all history , but i just need to erase current page navigation

example:
say suppose i have navigated two pages (a.html and b.html) thus the array navHistory will contain these two pages now if i navigate to anotyher page c.html i do not want this ie(c.html) to be saved in navigation history i.e the navHistory array should contain information regarding (a.html and b.html) only c.html should not be in it.

is there any provision for doing this or what are your suggestions to achieve it?

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