I've encountered an issue with my code snippet where I keep receiving errors. The content is dynamically generated but errors persist upon rendering.
Despite attempting escape(), the issue remains unresolved.
The value of $scope.teamInvites[index].teamInviteId is 12334
tname holds the value Test Team 1
email contains [email protected]
+ "<a ng-click='deleteRow(" + rowID + "," + $scope.teamInvites[index].teamInviteId+")'>Delete</a> | "
+ "<a ng-click='reInvite(" + rowID + "," + tname + ","+ email+")'>ReInvite</a>"
Error:
Error: [$parse:syntax] Syntax Error
An error occurs when variables contain @ or spaces. Unsure of a workaround, as it otherwise functions correctly.