var Error-dictionary = [ { code:599, MSG:'unknown' }, { code:404, MSG:'not found' }, { code:599, MSG:'unknown' } ] I want something like this: [ { code : 599, count:2, MSG : 'unknown', code :404, count:1, MSG : 'not found' } ] and this need to push into $scope.alerts as a MSG Error code and MSG […]
The post Filter array of object with unique code for dynamic value appeared first on BlogoSfera.