Fix issues with alert data after upgrade to Angular 1.2.1