This is a Ionic w/ Angular mobile app. related problem, using the Ionic Framework and Angular TS as backend. Am completely new to ionic app development.
I have this stackblitz created to simulate my need ---> https://stackblitz.com/edit/ionic-6h9vwa
Objective is to bind and display category data from cat_data.json file[that will be found in the assets/data/ folder] on the categories tab page. The error I have currently which you can see in the console there -> ERROR Error: this.catData.loadCategories is not a function
This line of code is in the backend .ts file of the category-list.html page. Like so:
ionViewDidEnter()
{
return this.catData.loadCategories();
}
Most of most of the code associated with the problem I have tried to arrange to best of my ability. I can't get to fetch and display the data though, even after trying a multiple no. of perms. and combns. I need to get this working. Show it in some form at least, preferably within a ion-grid and ion-row, ion-col arrangement. Hope you understand. If this is done, I can at least use this in a proper implementation.
I guess you can fork it and work/modify it or edit the original blitz itself. Feel free.
Want this working.