Add badge to the Ionic v1 tabs

To add a badge to the ionic v1 tabs, use the following code:

If you will add badge=”3″ badge-style=”badge-assertive” to <ion-tab> tag then badge will be displayed.