Calling global ("app") datasource functions in ionic5
Hello,
In my ionic5/angular application I use the same data in several pages, in bootstrap/angularjs I created functions in index to retrieve and stored the info in global variables accessible in other pages using $scope.$parent.$parent.varName.
I know in ionic5/angular I can create global datasource services in "app" and store data using the ionic storage tool, but I am not sure how I can call this global functions, read and display the global variables from other pages. In the events menu I only can invoke services created on the page i'm working on. Could you please guide me on this