Answer from home page

Hey Rowan,

I noticed this isn't actually catching the 401 unauthorized error (i believe because the response isn't json format). Also, the current implementation doesn't return an error if a rep already answers the question first (like it does in the non-ajax version on the question show page). Would you mind getting this up and running to catch those errors? I think you may need to write an interceptor or something:

* http://djds4rce.wordpress.com/2013/08/13/understanding-angular-http-interceptors/
* https://docs.angularjs.org/api/ng/service/$http#caching

And it's fine if the "question already answered" error is just a js alert or modal instead of a flash message.

I'll make a pivotal ticket for this and merge the branch in the meantime.