set up api to get students list dynamically when selected school changes in angular