Hello, I am looking to create a modal window that changes the URL when opened. For example, if a user clicks on a link with #123, the URL should change to include #123 after the slash. Additionally, I would like to be able to send someone a link directly to the modal window so they are redirected there upon opening the URL. Can anyone provide guidance on how to achieve this? :) At the moment, I have noticed that the URL does not change when clicking on links. I am currently using Bootstrap 3 for my modal window. Here is all the code I have used in my project: Demo with complete code https://codepen.io/Turqus/pen/rYeXvV
<a data-toggle="modal" href="#{{$index}}">Launch demo {{$index}}modal</a>
By the way, I am also utilizing AngularJS in my project. Hopefully, it can assist in creating this desired functionality.