I am trying to remove an element from array through splice .
$scope.RemoveRowAngular = function (OtherMarkUpName,carrierServiceId) { if (OtherMarkUp