I have problem with my ionic app. My application connect to server via $.http (GET or POST). When script success download data, I display it on
{{data.description}}
My problem is when data.description have url's. When in my db description have link
edit
When I use this method:
.success(function(data){
// data.description = test(data.description);
$scope.task = data;
$rootScope.MyData = {
description : '<a href="http://google.com"> dasd</a>'
}
})
or
$scope.task = data;
$rootScope.MyData = {
description : data.description
}
and in html:
{{MyData.description}}
