refactor directive image to scss/class