For a mobile app offline support is the first necessity. But providing offline support in HTML5 mobile apps is difficult most of times. In this tutorial I will tell you how to create your first HTML5 mobile app with offline support. App is created using Ionic framework and uses PouchDB as NoSQL database.