Switched from $resource to Restangular. Also, fixed issue with session persistence across tabs. Now, if user is already in a session, going to index will redirect him to his home page.