fixed errorneous advertisement image request before angular initialized (cherry picked from commit cce8c82)

fixed errorneous advertisement image request before angular initialized
(cherry picked from commit cce8c82)