angular.reloadWithDebugInfo

使用这个函数来重新加载当前的应用,并打开调试信息。它的优先级高于 $compileProvider.debugInfoEnabled(false)

查看 $compileProvider 服务查看更多