Redirecting between mobile and desktop versions

I really love Ionic, but I am building an application in which we are looking to target both desktop users and mobile users. The desktop version is written in Angularjs and Bootstrap. Ultimately then I’d like to use one codebase and perhaps have multiple views(one for desktop, one for mobile). Is there any guidance on doing such a thing?