129
rated 0 times
[
132]
[
3]
/ answers: 1 / hits: 35237
/ 10 Years ago, tue, june 17, 2014, 12:00:00
Before I am using JQuery and I use this to send URL with parameter
window.location = myUrl + $.param({paramName : ok,anotherParam:hello});
but with angularjS this does not work the same way
$scope.myButton = function() {
$window.location.open = myUrl + $.param({paramName : ok,anotherParam:hello});
};//Error: $ is not defined
can anyone help me how to do this in angularJs
More From » jquery