add textarea selection directives and changed binding accordingly.