use angular controller to call school