摘要:
app.run(['$rootScope', '$location', function($rootScope, $location) { /* 监听路由的状态变化 */ $rootScope.$on('$routeChangeStart', function(evt, next, current){ console.log('route begin ch... 阅读全文
posted @ 2017-09-21 14:17
快乐的咸鱼
阅读(1335)
评论(0)
推荐(0)
摘要:
$timeout 会在执行后刷新页面上 与angular 相关的变量,在于jQuery共用修改页面变量时,这很可能会导致刷新跳动的现象: 阅读全文
posted @ 2017-09-21 11:07
快乐的咸鱼
阅读(266)
评论(0)
推荐(0)

浙公网安备 33010602011771号