I have places in my code where I have this:
I would like to be able to use it like
scope.doFocus = function () { $timeout(function () { document.getElementById('you_input_id').focus(); }); };