simple push notice implementation in angular