Created
October 6, 2017 16:17
-
-
Save matthieu-D/945800c459910f305feebb80b7276bd0 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<ion-header> | |
<ion-navbar> | |
<ion-title> | |
Ionic API.AI Chatbot | |
</ion-title> | |
</ion-navbar> | |
</ion-header> | |
<ion-content padding> | |
<input ion-text type="text" [(ngModel)]="question"> | |
<button ion-button (click)="ask(question)"> | |
Ask | |
</button> | |
<div> | |
{{answer}} | |
</div> | |
</ion-content> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment