Hangman game with Angular JS