Ionic Push API

How I can send a push notification using ionic push API to all users, like I do in the dashboard?
I want to send a push to all registered devices on ionic platform…