When we use a tool for the solution of a specific problem, it is very common to worry about the best practices of the market for utilization of such a tool.
It happens frequently, and AngularJS is no different. Due to the large amount of tools, generators, and boilerplates, there is a common lookout on what best fits our application. Depending on the choice, this can become a nightmare in the long run, and your code will become a mess.
Since the goal of this book is not to discuss the best practices for development with AngularJS, we will stick to best practices for Directives AngularJS and this particular generator.
We will use the code generated in the previous recipe to identify some relevant points for the implementation of directives.