hangman w/angular + rails