How to provide proper path for Image in AngularJS 2

333
August 14, 2017, at 7:20 PM

My AngularJS 2 app, that I'm trying to do, doesn't display any images. The binding seems right, it goes on the second path, the "alt", displaying only the "down arrow" message instead of the picture, in the 6'th line of code:

src="src/app/images/arrow.png" alt="down arrow"

I've tried anything, maybe my path isn't ok. Do I need to make some other configurations? I've tried anything. Any help is appreciated.

<header id="intro" style="display: block;"> 
  <article class="fullheight" style="height: 568px;"> 
    <div class="hgroup"> 
      <h1>Move to Mars</h1> 
      <h2>City on Mars</h2> 
      <p><a href="/#welcome"><img src="src/app/images/arrow.png" alt="down arrow"></a></p> 
    </div> 
  </article> 
 
  <div class="scrollmagic-pin-spacer" 
       style="display: block; top: auto; left: auto; bottom: auto; right: auto; position: relative; margin: 0 auto auto; box-sizing: content-box; width: 100%; min-height: 44px; height: auto; padding-top: 0; padding-bottom: 0;"> 
    <nav id="nav" style="position: relative; top: 0; left: 0; bottom: auto; right: auto; width: 100%;"> 
      <div class="navbar"> 
        <div class="brand"><a href="/#welcome">Move to <span>Mars</span></a></div> 
      </div><!-- navbar --> 
    </nav> 
  </div> 
</header> 
<main id="wrapper"> 
  <div class="scene" id="welcome"> 
    <article class="content"> 
      <div class="gallery"> 
        <img src="src/app/images/intro_room.jpg" alt="Intro Gallery Room Sample Pictures"> 
        <img src="src/app/images/intro_pool.jpg" alt="Intro Gallery Pool Sample Pictures">

Rent Charter Buses Company
READ ALSO
how to add new row to jtable in jframe in netbeans8.0.2? [on hold]

how to add new row to jtable in jframe in netbeans8.0.2? [on hold]

when key relese from the red marked area add new row

366
How to avoid duplicate code due to the impossibility of using use multiple inheritance. Hibernate

How to avoid duplicate code due to the impossibility of using use multiple inheritance. Hibernate

I'm working on a Spring - Hibernate App, and I have a question about how to correctly avoid duplicate code and using Hibernate, due to the impossibility of using use multiple inheritance (I usually work with Python so this is not a "problem")

254
How to create object in object Spring JPA (Jhipster)

How to create object in object Spring JPA (Jhipster)

I am beginner using java and spring jpa (expecially Jhipster)I want to create object in object like this :

375
java.lang.IllegalStateException: During synchronization when trying to isert entity

java.lang.IllegalStateException: During synchronization when trying to isert entity

I created a restful project and when I try to persist my entity I have this error:

456