refactor(spinner): created spinner directive