I need to make ajax request. I can do this:
var categoryId = 152;
var url = "/someurl/category/"+categoryId;
$http.get(url);
Is it possible to use binding with $http? Something like:
$http.get("/someurl/category/:categoryId", {categoryId: 152});