2 ms·
Could do a few things more the Angular way. - Use ng-keydown on the input field (less overhead than $scope.$watch) - $http.get has a built in promise. No need
by JDDunn9 12y ago
Could do a few things more the Angular way.
- Use ng-keydown on the input field (less overhead than $scope.$watch)
- $http.get has a built in promise. No need to build another one on top of it.
- No need to splice the response, just pass the whole array and use the "limitTo" filter on the results.