Ion-segment selected on page load

Hello how do I make the first ion-segment-button selected on page loadkask

here is my code

<ion-segment [(ngModel)]="notifications">
      <ion-segment-button class="segebutton"  id="btn1" value="all">
        All
      </ion-segment-button>
      <ion-segment-button class="segebutton" id="btn2" value="mentions">
        Mentions
      </ion-segment-button>
    </ion-segment>

How about assigning to notifications?

How do I assign it to notifications ?

Is this resolved? I’m trying to figure out as well

@adnanu
In your ts file add (inside constructor)
this.notifications.value='all';
Hopes it may help you.