SyntaxFix
Write A Post
Hire A Developer
Questions
You can use angular's $window object:
$window.onload = function(e) { //your magic here }