hashbang

URL hash-bang (#!/) prefix instead of simple hash (#/) in Angular 1.6

我是研究僧i 提交于 2019-11-26 01:28:40
问题 My URLs on an AngularJS project has changed from localhost:3000/admin#/ to localhost:3000/admin#!/ since the last time I worked on my project... Nothing found on the web, does someone know what is this ? 回答1: It is new from AngularJS 1.6, which added a new hash prefix. Due to aa077e8, the default hash-prefix used for $location hash-bang URLs has changed from the empty string ( '' ) to the bang ( '!' ). If your application does not use HTML5 mode or is being run on browsers that do not support

What's the shebang/hashbang (#!) in Facebook and new Twitter URLs for?

梦想的初衷 提交于 2019-11-25 21:43:20
问题 I\'ve just noticed that the long, convoluted Facebook URLs that we\'re used to now look like this: http://www.facebook.com/example.profile#!/pages/Another-Page/123456789012345 As far as I can recall, earlier this year it was just a normal URL-fragment-like string (starting with # ), without the exclamation mark. But now it\'s a shebang or hashbang ( #! ), which I\'ve previously only seen in shell scripts and Perl scripts. The new Twitter URLs now also feature the #! symbols. A Twitter profile