Implementation of a directive for a button with a busy indicator