@shacker Really wondering why this is happening.

Also
If we need `setTimeout`, please use `$timeout`
If we need `window`, please use `$window`