I'm a bit stuck on how to approach this task. I have created a custom message directive (as an element) with various fields in its scope, including the content field which holds text. This text may include URLs (starting with http/https) and hashtags (starting with # and separated by spaces).
Can anyone suggest a recommended method for manipulating $scope.content to convert all links and hashtags into clickable hyperlinks?