Dynamic Title


#1

I’m newbie in IONIC and I have a doubt about how to set the title on Ionic template with the value of the menu selected in Playlists.

I’m trying to do this on PLAYLIST.HTML:

< ion-view>
< ion-nav-title>{{playlist.title}}
< ion-content>


"

My PLAYLISTS.HTML

< ion-view view-title=“TEST”>
< ion-content>
< ion-list>
< ion-item ng-repeat=“playlist in playlists” href="#/app/playlists/{{playlist.id}}">
{{playlist.title}}


#2

The good answer is :
<ion-view view-title="{{playlist.title}}">