Skip to content
This repository was archived by the owner on Apr 12, 2024. It is now read-only.
This repository was archived by the owner on Apr 12, 2024. It is now read-only.

location.hash = "myhash" coming as #/myhash in url #11125

@softreigns

Description

@softreigns

I am having a html page with a angular with angular controller in seperate file. I am bootstrapping in this html page and i have other plain javascript also where I am trying to set the location.hash with a button click. For me hash value in the page url is coming as #/myhash. If i remove angular bootstraping it come correct as #myash. Is there any way to prevent it ? Am I missing something ? Why is bootstrapping making it wrong ?

Thanks for the help

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions