One code base for 4 different platforms possible?

Just learning to code myself, some friends and I are building our first app and we’re trying to figure out the best way to get our app onto multiple platforms without having multiple code bases.

Basically we want to be able to have our app functional on desktop browsers & phone browsers as well as have hybrid-native iOS & android apps. Is this something we can realistically accomplish with one code base?

We’re looking at building our BE in node.js, so then could we build our responsive FE with Angular.js then wrap it with ionic to port the hybrid native apps. Is there some fatal flaw with this plan?

Appreciate your help in advance!

Yes, recent Ionic versions don’t use Angular.js but Angular.