Here is the basic steps to create a ionic framework based project, adding different platform to the project and running them. We also mentioned how to test the project during development and run them on real devices as app.
ionic start projectname blank
ionic platform add ios
ionic platform add android
ionic build [android | ios]
N.B. Many features do not work in desktop browser like camera functions
ionic run android
Connect the android device in your development desktop via USB port and run the above command