How to use external assets


#1

How to use external assets so angular always see them inside the angular app folder
rather than domain

Eg:

I’ve uploaded my asset here to make app work
www.somedomain.com/assets/my.json

Application is itself inside a folder
www.somedomain.com/clientswork/myfirstclient/angular_app_here

Ideally it should find assets in following location but it doesn’t
www.somedomain.com/clientswork/myfirstclient/angular_app_here/assets/my.json


#2

How are you trying to load those assets? For everything outside the project directory, just use the external URI of it.