Conseqta interview question

How do you link an Angular service to a Java controller?