Question: i am brand new to amazon api and i am trying to grab product details from amazon by putting this product URL in my website search input and then find this product details within my website. i have found a solution to search for products within my website and this is not useful for me. i wanna put the product link and find it's details.

Answer: 
obtainUsers must return the promise. Try this:

```
$scope.obtainUsers = function (valor) {
    console.log(valor)

    return $http({
...

```
Ok I finally found the answer, I miss a **RETURN** behind $http 

**HTML:**

```
  uib-typeahead="nombreUsuario.nombreUsuario for nombreUsuario in obtenerUsuarios($viewValue)"

```

**JS:**

```
    $scope.obtenerUsuarios = function (valor) {
        return  $http({
                method: "POST",
                url: "http://localhost:3000/obtenerUsuarios",
                params: {"valor": valor}
            }).then(function successCallback(response){
                return response.data;
            }, function errorCallback(error){
                alert("No se han podido enviar los datos")
            })
    }

```