Adding i18next and socket.io support with AngularJS