angular路由操作中'#'字符的解决办法

var app=angular.module("myapp",["ngRoute"]);
app.controller("ctr",function($scope){

});
//angular1.6.0以上版本需要配置
app.config(["$locationProvider",function($locationProvider){
$locationProvider.hashPrefix("");
}]);

知识无止境,追其宗,而归一
原文地址:https://www.cnblogs.com/bluesky1024/p/6297315.html