jquery - Unable to direct to html page in angularJS -


in angular app, want move html page after click on buton cannot move html page expected, configed in route that:

angular.module("abc", ["ngroute"])         .config(function ($routeprovider) {                $routeprovider.when("/checkout", {                 templateurl: "/checkoutpage.html"             });                    }); 

in page html :

<a href="#/checkout" class="btn btn-default navbar-btn">checkout</a> 

after hit on checkout button link address show this: http://localhost:12312/index.html#!#%2fcheckout

thanks help.

change href url <a href="#/checkout"> <a href="#!/checkout"> hope solve issue.

look here more details.


Comments

Popular posts from this blog

python - How to insert QWidgets in the middle of a Layout? -

python - serve multiple gunicorn django instances under nginx ubuntu -

module - Prestashop displayPaymentReturn hook url -