Fix window.angularReady undefined and timeouts
Merge pull request #15 from atermenji/patch-1

Fix window.angularReady undefined and timeouts