adding in alerts, cleanup on AngularJS app wide