Apply scope in angularFire callbacks so alert messages get displayed