Is it possible set the focus of an input field via a controller once data has loaded (via $resource in this case)?
The input is hidden via ng-show until the data is
This is a simple directive that might work for you
.directive('focusOn',function($timeout) { return { restrict : 'A', link : function($scope,$element,$attr) { $scope.$watch($attr.focusOn,function(_focusVal) { $timeout(function() { _focusVal ? $element[0].focus() : $element[0].blur(); }); }); } } })