If you have ever created an Angular directive before, you probably used the brackets ([]) notation as a selector. Most of the time it’s the preferred way, but it’s not a requirement. Actually, you can get pretty creative with the selectors used in your directives.
Full article