ui 라우터 onEnter에서 액세스 범위 또는 서비스에 액세스하여 액세스 확인(auth) 네, 사용자가 접근을 시도할 때마다 확인해야 하는 URL "/secure page" 상태가 있습니다.사용할 수 있는 onEnter 기능이 있다고 읽었습니다.하지만 스코프나 서비스를 받을 수 없는 것 같습니다.내가 뭘 잘못하고 있지? .state('securepage', { url: "/securepage", template: securepage.html, onEnter: function(){ // if (!$scope.main.isAuthenticated) $state.go("/login"); // if (!myLoginService.currentUser()) $state.go("/login"); 현재 표시되는 옵..