Social text selection tool (a-la medium.com) for AngularJS