Add spinner directive