javascript - How to add angular js html5mode under controller -



javascript - How to add angular js html5mode under controller -

i new in angular js.i seek create html5 mode true in 1 of controller .in angular js app there 3 controller need html5 mode true in 1 of them not in controller. using

app.config(function($locationprovider) { $locationprovider.html5mode(true); });

but config effect of controller.i need add together html5mode true under 1 of controller.i don't know possible or not .

providers available when instantiating angular module. can utilize providers module before instantiated within config block. can configure $locationprovider 1 time per module , not @ controller level.

javascript html5 angularjs

Comments

Popular posts from this blog

Delphi change the assembly code of a running process -

json - Hibernate and Jackson (java.lang.IllegalStateException: Cannot call sendError() after the response has been committed) -

C++ 11 "class" keyword -