adding directive for spinners
fixing constant