1
누락 때 나는 각도 설정에서 라우팅이 방법이 : 그래서각도 라우팅 끝에 슬래시
$stateProvider
.state('loginHome',
{
url: "/",
templateUrl: "scripts/features/account/views/login.html"
})
.state('login',
{
url: "/login",
templateUrl: "scripts/features/account/views/login.html"
})
, 사용자가 탐색 할 때마다 :
http://localhost/MyApp/
http://localhost/MyApp/login
로그인보기가 렌더링을
사용자가 아래 URL을 입력하면 로그인하여 로그인하도록 경로를 설정하는 방법 :
http://localhost/MyApp (no trailing slash)