Removing expression from directive