Spinner functionality added to directive. Asynchronous onToggle supported