Improve this Doc

Error: $compile:baddir
Invalid Directive/Component Name

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

Description

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

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