I need to add anchor tag if the string contains "http://" in it, ex json response:
var res = {status: "ok",activities: [{content: "The icon Canadian. Credit: http://allrecipes.co..."},{content: "The test message"},{content: "The Canadian art http://allrecipes.co"}]}
$scope.posts = res.activities;
but, I need to display anchor tag for the http,
I have tried using
<div ng-repeat="post in posts">
<span ng-bind="post.content"></span>
</div>