export default angular . module ( 'teambition' ) . directive ( 'autoFocus' , [ '$timeout' , ( $timeout ) => { 'use strict' ; return { link : ( scope , element , attrs ) => { $timeout ( ( ) => { element [ 0 ] . focus ( ) ; } ) ; } } ; } ] ) ;