var app = angular.module('myApp1', []); app.controller('newOrderView', function($scope,$location,$http) {
});
$location 的参数导致的去掉就行了
http://localhost:63342/webapp/angularForm/newOrderViewAngularForm.html#/C
转载于:https://www.cnblogs.com/qq309240790/p/5576825.html