Sample application guessing a github user preferred language. Sinatra + Angularjs