Pass Params With AngularJS $http.get Request

Posted By Weston Ganger

If you need to add params to your $http.get request in AngularJS simply use the following syntax:


$http.get("/users", {
  params: {
    search: "phillip"
  }
})


Related External Links:

Article Topic:Software Development - Angular

Date:June 28, 2016