Angular AJAX POST returning same value for separate queries

I don’t really want to type everything again, so I’m going to leave a link to my StackOverflow question:

http://stackoverflow.com/questions/31396357/angular-ajax-post-returning-same-value-for-separate-queries