directive logic moved to the compile function
changed header color
changed template
updated config class