can anyone helping me about showing just value of property in angular,
code snippet in my html :
<p>{{ tag }}</p>
code snippet in my controller.js :
var resource = $resource('/about');
resource.query(function(result){
$scope.tag = result;
});
I'm using mongodb for database which contain data {'name':'blablablablabla'},
when I run this code i get [{'name':'blablablablabla'}] in my browser, this is not what i want, i just want showing name value which is 'blablablabla' in html