I have a function which does a http POST request. The code is specified below. This works fine.
$http({ url: user.update_path, method: \"POST\", d
For sending get request with parameter i use
$http.get('urlPartOne\\'+parameter+'\\urlPartTwo')
By this you can use your own url string