AngularJS filter & directive for smilies parsing