give ability to pass spinner options into template