Why not save the entire thing in the database and when you returning data to AngularJS, you return everything as part of ur response.
E.g
Type of Person table
id -> Int
name -> Person
User Table
id -> PK
username -> String
type_of _person_id -> INT Foreign Key back to Type of Person table.
Using the Eloquent ORM, you can load all the data you need with their accompanying description from the database and parse them in AngularJS.
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community