Image in <ion-view>

I need to insert a logo to replace the text title in

<ion-view title=''>

I allready view some topics but never worked 100% for my case…

My html code:

<ion-view title = '{{title}}'>

  <ion-nav-buttons side="left">
    <button menu-toggle="left" class="button button-icon icon ion-navicon"></button>
  <ion-content class="has-header">

My controllers.js

.controller('MainCtrl', function($scope, $ionicSideMenuDelegate) {
$scope.title = '<img src="img/logo.png"/>';

$scope.toggleLeft = function() {


Thanks for the help!!

Have tried this?

  $ionicNavBarDelegate.setTitle('<img src="">')
1 Like

It’s working now!

Thank you for the precious help mhartington!!