Created directives to improve calculator component.