Okta auth for Web app

Hi I have a angular js app and backed java code. now i want to use okta auth using web type application. now it is supporting Single Page App. but I need to use Web App. can anyone tell me how we can do this.It would be better if someone send me sample code of angular js and java code