Refactor font style Angular directive