Chapter 2. Building a Navbar Custom Directive

In this chapter, we will cover:

  • Building a navbar directive
  • Directory structure for common components
  • Directive's controller function
  • Using the data attribute to HTML5 compile