Hello,
I'm using persistencejs in a Cordova/Angular/Ionic application and I'm trying to guess how to use p.js in an Angular application.
I have a main table called Training and each training have a one to many relation to the Activity table.
When I start the application the list of Training is displayed and I way have to explose an array of Training to Angular using Training.list.
Now, I can display a training (using Training.load but I don't understand how to expose the activity relationship.
From the angular point of view, the Training class/constructor allow to access primitive properties (name,...) but how to access the activity relation ?
Regards
Jeff