Fixed "Alert" scope issue...

Identified an issue with the scope I was using with the alerts. Adjusted this to be correct and updated the controller to correctly deal with this. Also by fixing this allows me to remove the $rootScope requirement from the controller.