AngularJS website states :
Develop Across All Platforms
Learn one way to build applications with Angular and reuse your code and abilities to build apps for any deployment target. For web, mobile web, native mobile and native desktop.
From what I have tested, Ionic Framework (based on Angular 2) allows the creation of iOS, Android and Windows Phone application with the same codebase, but I never seen any example of the same codebase for web, mobile web, native mobile and native desktop applications. Moreover, Ionic Framework is made for native mobile applications and should not be used for web and desktop apps, so there should be two different views, one with Ionic, another with Bootstrap/Foundation/insert your favorite CSS framework here.
Is it possible to write a single AngularJS application for the web, mobile web, native mobile and native desktop, all with the same codebase ? If yes, how? And if not, how can I reuse the code (everthing not related to the view) to achieve this while maintaining a single project by target platform?