While working on an Angular JS App I found following block of code:
(function(){
// code goes here
})();
Is it equivalent to window.onload
or document.ready
?
While working on an Angular JS App I found following block of code:
(function(){
// code goes here
})();
Is it equivalent to window.onload
or document.ready
?