File pattern
"A","Arabia"
"B","Brazil"
"C","Canada"
"D","Denmark"
"E","England"
"F","Finland"
"G","Germany"
User can select a file using input file type and i have to convert it into a json object like
$scope.dataList = [{
Name: "A",
Value:"Arabia",
IsEditing: false,
Status: "unchanged",
IsValueValid: true,
IsNameValid: true
}];
I found a lot about this but those are in jQuery. It is bad practise to use jQuery in AngularJs controller ... I'm new to AngularJs / Javascript field ..
Can anyone please help me to give suggestion about how should I do it...