Skip to content

Instantly share code, notes, and snippets.

@mmetting
Created June 21, 2017 15:51
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mmetting/b2017a0ef7e499d78040298a54d2b40e to your computer and use it in GitHub Desktop.
Save mmetting/b2017a0ef7e499d78040298a54d2b40e to your computer and use it in GitHub Desktop.
Add another client side button to list all DB entries (Client App)
<ion-pane>
<ion-header-bar class="header-footer-bg">
<div class="center">
<h3>Feedhenry</h3>
<h4>Quickstart - Ionic</h4>
</div>
</ion-header-bar>
<ion-content has-header="true" ng-controller="MainCtrl">
<div class="row">
<div id="main" class="col col-offset-10 col-80">
<div class="item item-input-inset">
<label class="item-input-wrapper">
<input type="text" id="uInput" placeholder="Enter Your Name Here" ng-model="userInput">
</label>
</div>
<button class="button button-block button-positive" ng-click="sayHello()">Say Hello From The Cloud</button>
</div>
</div>
<div class="row">
<div class="col col-offset-10 col-80">
<h3 id="greeting"> <i class="icon {{textClassName}}"></i> {{noticeMessage}}</h3>
</div>
</div>
<div class="row">
<div id="main" class="col col-offset-10 col-80">
<button class="button button-block button-positive" ng-click="list()">List Entries</button>
</div>
</div>
<div class="row">
<div class="col col-offset-10 col-80">
<h3 id="greeting"> <i class="icon {{listTextClassName}}"></i> {{listMessage}}</h3>
</div>
</div>
</ion-content>
<fhfooter></fhfooter>
</ion-pane>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment