var Vesrion="0.1";

var app = angular.module('WebFormApp', ['pascalprecht.translate']);
app.controller('WebFormAppCtrl', WebFormAppCtrl);

/**
* WebFormAppCtrl: Main controller
*/
function WebFormAppCtrl($scope, $http, $timeout, $window,  $translate, $compile) {

	$scope.field = {}; 
	$scope.multipleIndex = 1;
	$scope.ValidationDisabled = false;
	$scope.selectedLanguage = "en";
	$scope.groups =  groups;

	$scope.submit = function(frm) {
		$scope.field[frm.$name].AEAPrice = 11;
		console.log(frm);
		return false;
	};
	
	$scope.addRow = function(frm, group) {
		$scope.multipleIndex = $scope.groups[frm][group].length;
		$scope.groups[frm][group].push(++$scope.multipleIndex);
		var tmi = $scope.multipleIndex;
		$timeout ( () => {
			$(`#group-area-${$scope.multipleIndex}-${group}`).prepend( $compile(`<div class="row"><button type="button"  title="{{'deleterow' | translate}}"class="deleterowbutton" ng-click="deleteRow('${frm}', '${group}', '${tmi}')"></button></div>`)($scope));
		}, 10);
	};

	$scope.deleteRow = function(frm, group, index) {
		$scope.groups[frm][group].splice($scope.groups[frm][group].indexOf(index), 1);
	};

}

$(document).on("scroll", function() {
	if ($(document).scrollTop() > 40) {
		$("#head").removeClass("tplarge").addClass("tpsmall");
	} else {
		$("#head").removeClass("tpsmall").addClass("tplarge");
	}
});
@@ -622,96 +622,105 @@
 ;%0A%09%09
-$scope.groups%5Bfrm%5D%5Bgroup%5D.push(++$scope.multipleIndex);%0A%09%09var tmi = $scope.multipleIndex
+var tmi = $scope.multipleIndex++;%0A%09%09$scope.groups%5Bfrm%5D%5Bgroup%5D.push(frm + '-' + tmi + '-' + group)
 ;%0A%09%09
@@ -955,16 +955,14 @@
 %7D', 
-'
 $%7Btmi%7D
-'
 )%22%3E%3C
@@ -1122,21 +1122,47 @@
 indexOf(
-index
+frm + '-' + index + '-' + group
 ), 1);%0A%09

Delete Form row bug fixed