0
我有我的控制器這段代碼的應用程序離子如果聲明離子,角JS
// Shows test score to the user
alertPopup = $ionicPopup.alert({
title: user + message,
template: 'Your score: ' + testScore + '%',
okText: Paid ? 'View test results' : 'Close'
});
我需要添加的,如果在該消息的變化,如果testScore var爲> 50 但我是初學者在離子或角js ...任何好人都可以幫我嗎?