I was trying to add value to textarea from scope's array starting with new line and i found a good example here but seems like it works only with array of primitives.
$scope.names = ['morpheus', 'neo', 'trinity'];
But what if i need to use array of js objects like this:
$scope.namesObj = [
{name: 'morpheus'},
{name: 'neo'},
{name: 'trinity'}
]
As you can see in this example it shows only
[object Object]
[object Object]
[object Object]
I can't find a way how to get property name.
Thanks in advance!