more errors in spinner directive