Notification service for angular offering alerts and confirms supporting cordova