2017-08-02 125 views
0

我有一个需要检索角度范围。以下在Chrome,Safari,IE中运行良好。但在FF中,它引发了错误,而且未定义范围。jquery中的角度范围

var scope = angular.element('cards-container').scope()

请帮忙!

+0

https://github.com/angular/angular.js/issues/14807 – anu

+0

确保到$ compileProvider.enableDebugInfo = false – anu

回答

0

您需要启用调试模式,以允许该

$compileProvider.debugInfoEnabled(false)

检查this