Trying ng-repeat logic, added line_type counters to parser object