added growl style notification for errors

This commit is contained in:
Matteo Pagliazzi
2013-10-30 19:29:46 +01:00
parent 1490380e53
commit e2331e5194
6 changed files with 12 additions and 18 deletions

View File

@@ -61,5 +61,9 @@ habitrpg.controller('NotificationCtrl',
Notification.lvl();
}
});
$rootScope.$on('responseError', function(ev, error){
Notification.error(error);
});
}
]);