Simple, single-page hangman application written in AngularJS - Demo code from a tutorial