Good idea but doesn't seem to work.

Poup are always added to the body so I think we shouldn't have problems but I agree it's not very good. Maybe we could use property on the rootScope which is accessible everywhere.