Image in component folder with ionic

#1

I have an ionic (v2) component, and I want to put an image of the component (that image is a default image for the compnent) in its folder so I can easily move the component in other project by cut and paste the folder. I have tried in .scss file the following code inside a class:

background: url(’./file.jpg’) no-repeat;

but it doesn’t work. What path I must write?
In angular 4 it works

#2

I believe all images must be under assets.