angular-translate/angular-translate — pull request #378 by NickHeiner (2014-02-18 14:54:48+00:00)
Title: fix(async loading): Ensuring that languages will be set based on the order they are requested, not the order the responses come in.

This is a pretty small change - turns out I could use `$nextLang`, which is already available, to solve the issue.

This is a fix for #376.

I tried to make the tests match the existing style, but let me know if I should change anything.