Hangman game written in angular using TDD methodology