0
I’m developing an app where it’s almost all assembled from data from an API on an external server, searching for information on an Oracle client.
After logging in, I have on the Homepage the function ngInit
that searches the data in this external API.
When I browse other pages of the app and go back to the Homepage, I have to look for the data again, because apparently, when leaving the Homepage the data loaded in the variables previously are empty.
There is a smarter way to do this, IE, don’t keep calling every time the API when entering the Homepage?
you are using providers to consume API data?
– Felipe Miranda
I’m not Felipe.... I’m wearing it like this:
– ClaudioJunior10