This is a demo for angular-autoselect, a module for AngularJS.
It currently provides a directive, autoSelect, which will cause text to be automatically selected, with several options.
autoSelect