I am facing an issue while trying to loop through a simple JSON in AngularJS using ng-repeat
. The specific JSON I am working with is as follows:
$scope.lines = {
data: [
{ "properties": {
"name": "My test",
"test:testOne": "This is test one" }
}
]
};
The main problem lies with this property: test:testOne
. Parsing this property is proving to be challenging due to the presence of a colon. I have created a jsfiddle here: http://jsfiddle.net/7MhLd/1250/ where I have attempted various methods, unfortunately, without success