Check if a ember object exists on the clients browser?


#1

Say there exists some express and emberjs website ‘www.example.com’. The backend is a data centric api with a single route to serve static files (emberjs application). if a client visits ‘www.example.com/artist/album’, this route returns a JSON response. How can you check if emberjs is loaded in the clients browser?


#2

Perhaps you can add a custom header see: https://guides.emberjs.com/v2.13.0/models/customizing-adapters/#toc_headers-customization so you know the json request is comming from the Ember App.