Alert plugin for angular application