I want to combine two algorithm with each how do it
JS Bin<div ng-repeat="b in pp track by $index" ng-repeat="a in aa track by $index">
{{ (b+a) }}
</div>
angular.module(“app”, [])
.controller(‘TabsDemoCtrl’,function($scope,$http){
$scope.string = 'A, B, C';
$scope.arrString = new Array();
$scope.arrString = $scope.string.split(',');
$scope.string1 = '100-,200-,300-';
$scope.arrString1 = new Array();
$scope.arrString1 = $scope.string1.split(',');
$scope.pp = $scope.arrString1;
$scope.aa = $scope.arrString;
});
I want results:
A 100-
B 200-
C 300-
Example Site: http://jsbin.com/dukidobuli/edit?html,js,output