I am currently developing an application which has a collection in mongo of tv channels.
The app is growing quite nicely but I was requested to create an external app or page with a different domain just to show the list of updated channels (before channel and current channel and new releases etc)
What I did was create a simple angular app without a server, just pure angular, and I was wondering how am I able to make an http request to get the list/collection of the main application that has the list/collection of the channels.
this is the scheme for channels:
meteor:PRIMARY> db.channels.find().pretty()
{
"_id" : "2WzykFxP3LpNvh4hq",
"logo" : "images/alineacion/ultimate/tbn.svg",
"before" : 104,
"number" : 105,
"category" : [
"Ultimate"
],
"edit" : false,
"name" : "tbn"
}
QUESTION
How can I make an http request to get the list/collection of channels from a different angular application to an angular-meteor app so I'm able to list the channels?