I created a custom directive that wasn't functioning properly on Firefox version 36.00.
It's supposed to work similarly to the autofocus attribute in HTML 5.
Here is the directive code:
app.directive('autoFocus', function($timeout) {
return {
restrict: 'AC',
link: function(_scope, _element) {
$timeout(function(){
_element[0].focus();
}, 0);
}
};
});
Any thoughts or suggestions? Thanks