I am getting some data back from the server and need to display it using ng-repeat. Here is my json data:
 {
            "eShowOnHome": "No",
            "dModifiedDate": "2016-08-21",
            "eText": "No",
            "eTodayGame": "No",
            "eDelay": "No",
            "eInvert": "None",
            "eResultOrder": "No",
            "iHGameID": "55539",
            "iGameID": "111",
            "vGameTitle": "Billetes Domingo ",
            "eStats": "No",
            "vUrl": "billetes-loteria-nacional",
            "vGameLogo": "https:\/\/s3.amazonaws.com\/cdn.kiskooloterias.com\/dominicanas\/upload\/game_logo\/111\/loteria-nacional-dominicana.jpg",
            "companymodifieddate": "2011-12-19 13:35:54",
            "vCompanyLogo": "https:\/\/s3.amazonaws.com\/cdn.kiskooloterias.com\/dominicanas\/upload\/company\/76\/1373805675_loteria-nacional.jpg",
            "gamemodifieddate": "2015-12-15",
            "iCompanyID": "76",
            "vCompanyName": "Loter\u00eda Nacional",
            "vCompanyurl": "loteria-nacional-resultados",
            "dLastLotteryDate": "2016-08-21",
            "tScore": "23612 +12\r\n01603\r\n21705\r\n63410 +03\r\n02373 +07"
        }
I need the values in the tscore property seperated. I have utilized string split() to split out the values. First, I have to split white space, and then have to split on "\r\n". I have split on white space using the method below and I don't know how to split on "\r\n".
<td><p class="" ><span  ng-repeat="itemcc in item.tScore.split(' ')" >{{itemcc }}</span>
Is there anyway to split both values in single method? Thanks in advance.
 
     
    