2014-03-24 55 views
0

我們有一個AngularJS應用程序(v1.2.0-rc.3)。

該應用程序包含一個鏈接到一個網站我們的角度應用程序之外:

$window.location.href = "http://www.someotherwebsite.com"; 

在移動版Chrome,我們看到,當用戶訪問這個鏈接,並使用在移動後退按鈕回來到Angular應用程序中,我們收到錯誤:

$rootScope.infdig... 
$digest() iterations reached... 
Aborting! Watchers fired in the last 5 iterations... 
$locationWatch... 
ngModelWatch... 
Property 'pushState' of object [object History] is not a function... 

有什麼問題?我們解決這個問題嗎?

編輯:

升級AngularJS到v1.2.15解決此問題。

+0

我將AngularJS版本升級到v1.2.15,現在錯誤消失了。 –

回答

0

將AngularJS升級到v1.2.15可以解決問題。