PhoneGap: Check weather after controller has been updated