Change tab title of ion-nav-bar to image


Hello there, I’m trying to change the title of a tab to an image (forked a codepen). I read some topics on the forum but I can’t manage how to figure it out. Tried this one but had no luck at all. I’m on beta 10 so I don’t think there should be any issues since i read it was fixed in previous versions.

<nav-page ng-controller="AppCtrl" title="myTitle">

app.controller('AppCtrl', function($scope) {
  $scope.myTitle = '<img src="path/to/image.jpeg">';


you forgot to add the {{ }} around mytitle.

  <ion-view title="{{myTitle}}">


Yes that worked! I was also able to do this:

  <ion-view title='<img src="path/to/image.jpeg">'>

(Note the single quotes on title.)