I am performing a search operation to retrieve the data. Able to call the API and get the data back.
The result object is assigned back to $scope.model
$scope.model=results;
When I look at the page and try to change the search criteria, the input field looks like frozen. I had to refresh the page again to enter the search criteria.
Two input boxes to search. ID and name. After the even operation, neither ID nor name are editable.
This is the code
searchApp.controller('SearchController',
function SearchController($scope, SearchData, $routeParams) {
$scope.Search= function () {
$scope.model= SearchData.fetch($scope.model);
};
});
please help me