2013-11-26 3 views
1

파일의 오류를로드 할 수있다. Cross origin 요청은 HTTP에 대해서만 지원됩니다.XMLHttpRequest의 각도는 JS

자바 스크립트 코드 :

var amailServices = angular.module('Amail',['ngRoute']); 
function emailRouteConfig($routeProvider) { 
$routeProvider. 
    when('/', { 
     controller: ListController, 
     templateUrl : 'list.html'}). 

    when('/view/:id',{ 
     controller : DetailsController, 
     templateUrl:'detail.html'}). 

    otherwise({ 
     redirectTo:'/' 
    }); 
} 
amailServices.config(emailRouteConfig); 

답변

1

그것은 웹 폭풍 IDE의 수정이었다 해결하는 방법.

나는 이제 디버깅

에서 잘 작동 http://localhost:63342/

에 서버를 변경