angularjs无法获得财产'申请'未定义或空引用

时间:2014-06-09 14:08:56

标签: angularjs internet-explorer-8 angularjs-scope

我在IE8的angularjs(V1.2.16)中收到错误@ LINE NO 8193

/**
   * Callback registered to $httpBackend():
   *  - caches the response if desired
   *  - resolves the raw $http promise
   *  - calls $apply
   */
  function done(status, response, headersString, statusText) {
    if (cache) {
      if (isSuccess(status)) {
        cache.put(url, [status, response, parseHeaders(headersString), statusText]);
      } else {
        // remove promise from the cache
        cache.remove(url);
      }
    }

    resolvePromise(response, status, headersString, statusText);
    if (!$rootScope.$$phase) $rootScope.$apply(); // Error getting @ this line
  }

这是我正在使用的html

<div id="unHandledExceptionDiv" class="modal"> <div class="modal-content"> <div class="modal-header"> <h3>{{'fatalExceptionDialogTitle' | i18next:model }}</h3> </div> <div class="modal-body"> <span id="unhandledExceptionMessage">{{unHandledExceptionMessage}}</span> </div> <div class="modal-footer"> <input type="button" class="btn btn-primary login_button" value="OK" ng-click="onUnhandleExceptionDialogOk()" /> </div> </div> </div>

错误&#34;无法获得财产&#39;申请&#39;未定义或空引用&#34;

有没有人遇到过这个错误?

-Yogesh

0 个答案:

没有答案