Improve this Doc

Error: $compile:baddir
Invalid Directive Name

Directive name '{0}' is invalid. The name should not contain leading or trailing whitespaces

Description

This error occurs when the name of a directive is not valid.

Directives must start with a lowercase character and must not contain leading or trailing whitespaces.