fixed errorneous advertisement image request before angular initialized