For the next recipe we use a code base that was previously created in Chapter 8, Creating Reusable Directives, which charts the directive with some minor changes.
You can download the code from the
Chapter 8 folder directly from the Packt Publishing website, or by following the steps using this chapter's sample code.
Remember that in our previous example, we focused only on configuring the application to perform the test with Karma and Karma Runner.
Before we start writing our code, it's important to remember that the directives are used to manipulate...