Page 2 of 2

AngularJS: How to get the value of selected list item

Posted: Tue May 10, 2016 12:34 pm
by Serhii Kulibaba

1) You have to check selected value with the current one, and show messages if they are equal

2) Please remove condition of the date in the server code. So instead of:
prevar lastEventDateText = lastEventDate.toISOString();

messages = Collection.query('database_id', 'messages', {
'criteria': {
'createdAt': {
'$gt': {
'$date': lastEventDateText
}
}
},
'sort': 'createdAt'
}, MASTER_KEY);/pre
use JS below:
prevar lastEventDateText = lastEventDate.toISOString();

messages = Collection.query('database_id', 'messages', {
'sort': '_createdAt'
}, MASTER_KEY);/pre


AngularJS: How to get the value of selected list item

Posted: Thu May 18, 2017 10:09 am
by Gopi .

Hi,

Thanks for sharing a great article on AngularJS!!

I think there are lots of people who struggle to learn AngularJS.

I have also tried my best to Cover all the Topics of AngularJS which will be helpful to people who are stepping into AngularJS.

I will appreciate if you can take a few minutes to provide your feedback for the same, it would be a great help!!
Complete Topics of AngularJS

Thanks a lot!!