sample for an Ionic push notification using GCM, recieved and followed by localNotification
plugins used :
ionic plugin add https://github.com/phonegap-build/PushPlugin.git
ionic plugin add https://github.com/katzer/cordova-plugin-local-notifications.git
API key : AIzaSyBFexTkQkPKyK7MgQS7Uff8BT-TrHayTMw
IP : all allowed