Frage im Vorstellungsgespräch bei Huawei Technologies

How does angularjs implemented the customer defined directives?