So this was a weird thing to find out. Recently, I was going through some angular docs and came across the - tutorial. In the example mentioned in 9th step, I got a bit skeptical on looking at the url.
As you can see, in the URL there's this ! mark right after #. What is this ! mark used for in URL?
I know the usage of # mark in a url, but wasn't sure about using ! mark in one. Google also wasn't much helpful in this case.
Playing with the url a bit, I came to know that -
- On removing the ! mark from the url, it was getting added again, on its own; with the URL changing to - http://angular.github.io/angular-phonecat/step-9/app/#!/phones#%2Fphones. Here
%2F
means forward slash, btw.
Not a huge question, maybe, but I would like to know the meaning and usage of the ! mark.