AngularJS factory for Bootstrap notify