0
送信ボタンの下に表示するのではなく、応答をポップアップメッセージにするために助けが必要です。投稿時にイオンポップアップエラーメッセージを表示するには
template.html
<div class="item item-text-wrap">
Response: <b ng-bind="response"></b>
</div>
app.js私は、応答メッセージに
// An alert dialog
$scope.showAlert = function() {
var alertPopup = $ionicPopup.alert({
title: 'Don\'t eat that!',
template: 'It might taste good'
});
alertPopup.then(function(res) {
console.log('Thank you for not eating my delicious ice cream cone');
});
};
私はres.data形式のデータをこのようにすることができますgrapする必要がありますか?テンプレート:(res.data); – velvetInk
は動作しているようです – velvetInk
かっこが必要ですか? – velvetInk