This example will show you how to push notification to your IONIC app. Please make sure you have chosen “Y” when creating the app: Make sure you have signup the IONIC account, and you should be able to login https://apps.ionic.io/ : After sign-up the account, please follow the below steps: npm install –g bower ionic
This example will show you how to post data to Restful server by using $http.post() in order to demonstrate login and logout functions. Besides, it will use window.localStorage to store the login information. Please follow below steps: Update C:\workspace_ionic\itBlogsApp\www\templates\menu.html by changing: <ion-item menu-close ng-click=”login()”>Login</ion-item> to <ion-item menu-close ng-click=”login()”>{{loginout}}</ion-item> Update C:\workspace_ionic\itBlogsApp\www\templates\login.html by changing: <h1 class=”title”>Login</h1>