Simple image not displaying


#1
  <ion-header>
  <ion-navbar>
    <button ion-button menuToggle>
      <ion-icon name="menu"></ion-icon>
    </button>
    <ion-title>Home</ion-title>
  </ion-navbar>
</ion-header>

<ion-content padding>
  <h3>Ionic Menu Starter</h3>

  <!-- <p>
    If you get lost, the <a href="http://ionicframework.com/docs/v2">docs</a> will show you the way.
  </p> -->

  
   <ion-scroll direction="x" style="height:200px; min-height: 200px;">
      <a><img ng-repeat="image in images" ng-src="/home/nikhil/Documents/download.jpg" style="float: right"/></a>
    </ion-scroll>

  

<button ion-button secondary menuToggle>Toggle Menu</button>
</ion-content>


#2

changed to src there
but error is Cannot GET /www/images/download.jpg if I click on img to open in new tab


#3

Why do you use Angular 1 syntax in an Ionic 2 project?

And your images should be placed in the assets folder.


#4

I have ionic 3 and src I have set those images next to my index.html and its coming now but as u said will keep in assets


#5