logic to manage hierarchical administrative division data in our Angular apps