Dynamic update tab Badge


#1
  <ion-tab [root]="tab5Root"  tabBadgeStyle="danger" [tabBadge]="badges" tabTitle="Notifications" tabIcon="ios-notifications"></ion-tab>

Hi, I have this tab that show the Badge and i want way to update the number in Badge if the any page add any thing in Database and this Badge number Update for all users .