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

c - Compilation of a code: unkown type name string -

java - Bypassing "final local variable defined in an enclosing type" -

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