I have a JSON array like this one:
[
{
    "user": "345",
    "createdOn": "2015-09-01 13:17:22"
},
{
    "user": "432",
    "createdOn": "2015-09-01 13:27:56"
}
]
In a <div> tag I am doing this:
 <div> class="row" ng-repeat="item in array"             
         {{item.createdOn}}
 </div>     
The output is : 2015-09-01 13:50:59, but I don't want the time part to be shown, i.e. required output is just 2015-09-01.
I tried using filter but unsuccessfully. Give me some knowledge on this, please.
 
     
     
     
     
     
     
     
    