How do I dynamically update the page title through ionic?


#1

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?

Thanks!


#2

are you talking about the title tag?


#3

The HTML title tag, yeah


#4

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.