javascript - Removing the # from angularJS routing make application stop working -
i tried remove # angular application.
i have followed steps in different forum.
angularjs routing, remove # url
i have set below configuration.
$locationprovider.html5mode({ enabled: true, requirebase: false }); <head> <base href="/"> ... </head>
the application working expected if give http://localhost/ if try refresh or give complete url http://localhost/mypage/test.html not working routing , giving me 404. working #
http://localhost/#/mypage/test.html working fine.
i using chrome 51 idea happening?
Comments
Post a Comment