I want to add a scope variable as a argument for window.open function, i am using the following code.
onclick="window.open($scope.positionsURL, '_system', 'location=yes'); return false;"
I am getting the following error.
Uncaught ReferenceError: $scope is not defined
What am I missing? Do I have any syntax error? Please help me to solve this issue.