Fix the recipients when creating a new thread.
Manage a X-Auth-Token in Restangular default headers for API authentification.
Array notation to protect against minification.
Add random tokens for 3 users (= allow to login).