Here is the JSON I am attempting to parse:
{[{"name":"Technology"},{"name":"Engineering"},{"name":"Business"}]}
I encountered the following error:
Unexpected token [ in JSON at position 1
at JSON.parse (<anonymous>)
at fromJson
The data is being retrieved from a service and stored in the controller's scope using the code below:
vm = this;
vm.sectorList = response.data;
This is how it is displayed in my HTML file:
<div ng-repeat="sector in ctrl.sectorList">
{{sector.name}}
</div>