akash akash - 10 months ago 37
AngularJS Question

I want only string value from JSON.Stringify


It gives this result:


What I want:



You don't need to stringify it.


Attendances.data is an array of JSON objects, that each have an EmpNTLogin property. Attendances.data[0] gets the first JSON object in the array, and .EmpNTLogin gets the value associated with the EmpNTLogin property, in this case "Guatam".