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