I know this is old but I just ran into this and the $timeout workaround
works perfectly for me. I'm using the latest version of angular. Is this
something that is going to be changed eventually? Or has anybody found
another way around this?
On Wednesday, January 15, 2014 1:10:58 PM UTC-6,
The solution I chose to use based on the information found
herehttps://github.com/angular/angular.js/blob/1bb33cccbe12bda4c397ddabab35ba1df85d5137/src/ngCookies/cookies.js#L58-L66
and
herehttps://github.com/angular/angular.js/blob/1bb33cccbe12bda4c397ddabab35ba1df85d5137/src/ng/browser.js#L102.