Make promise resolution Angular-aware
Make page a test locale variable