app.run (function() {})에서 전체 응용 프로그램 실행을 일시 중지하는 방법은 무엇입니까? 예를 들어angularjs 응용 프로그램 실행 일시 중지
: 당신은 당신이 ng-app="frontendApp"
사용하여 응용 프로그램을 부트 스트랩하는 수없는 경우
angular.module('frontendApp')
.run(function ($timeout) {
$timeout(function() {
next(); // While this function is not executed,
// the application must not download data and perform any task.
}, 1000);
});
어떤 경우에 해당 하는가? –
어떻게 해야할지 모르겠다. =) –