I need to iterate through nested json array which looks like that
[
{
\"title\": \"EPAM\",
\"technologies\": [
\"PHP\",
\".net\",
Use angular's forEach:
var app = angular.module('app', []);
app.controller('CompaniesController', ['$scope', '$http',
function($scope, $http) {
$http.get('json/companies.json').success(function(data) {
$scope.companies = data; // get data from json
angular.forEach($scope.companies, function(item){
console.log(item.technologies);
})
});
});
}
]);