Skip to content

Instantly share code, notes, and snippets.

@jaseflow
Created May 24, 2015 02:38
Show Gist options
  • Select an option

  • Save jaseflow/342f101b2798bb630237 to your computer and use it in GitHub Desktop.

Select an option

Save jaseflow/342f101b2798bb630237 to your computer and use it in GitHub Desktop.
<ion-modal-view>
<ion-nav-bar>
<ion-nav-buttons side="right">
<button class="button button-clear button-positive" ng-click="closeModal($event)">Cancel</button>
</ion-nav-buttons>
</ion-nav-bar>
<ion-content class="has-header">
<div class="quiz island">
<div ng-repeat="questions in quiz">
<h2 class="quiz__question">
{{ questions.question }}
</h2>
<ul>
<li ng-repeat="answer in questions.answers" class="quiz__answer" ng-click="checkAnswer()" data-correct="{{ answer.correct }}">{{ answer.answer }}</li>
</ul>
</div>
</div>
</ion-content>
</ion-modal-view>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment