It can be pretty tiresome to write the same code again and again for loading data when a page/component loads - so we should have some some of configuring data which is loaded.
This should be held as configuration within the controller, something like:
It can be pretty tiresome to write the same code again and again for loading data when a page/component loads - so we should have some some of configuring data which is loaded.
This should be held as configuration within the controller, something like: