In this chapter, we will see how to build a
navbar directive and adapt it to an AngularJS application. We will also explore some basic functionalities of AngularJS directives. We will use a Yeoman generator to facilitate our work and illustrate how to organize your directory structure following the AngularJS best practices from the community.
It is assumed that you have an intermediate knowledge of developing applications using AngularJS and modern tools such as Yeoman, Bower, and Grunt. However, the following examples are exemplified didactically.
You can find more information about Yeoman at http://yeoman.io/.