How do I dynamically update the page title through ionic?

Hi all!

I have the code

<ion-view view-title="{{pageTitle}} - {{room.activeParticipants}}">

which sets the header bar and webpage title ( when viewed in a browser ). The problem is when room.activeParticipants updates the header title changes, but the webpage title does not!

How do I fix this?


are you talking about the title tag?

The HTML title tag, yeah

No need. the title tag is never ever shown in the app. It is only shown when you do ionic serve.

Checkout some ionic apps from the show case and you will see that the app runs in the webview which is actually a headless browser.