Duration: 18:27 min
Summary: In this lesson, we will talk more about directives. As you all know directives play a key role in angular and we need to make sure we cover them in details. In the first part of the lesson I start with ng-repeat-start and ng-repeat-end. We will see how to use that directive to be able to display the content of one row in the array into three rows in the table. Then, we will talk about the ng-include directive. This directive is very handy because you can divide your long file into reusable chunks, and then reference those chunks in different parts of the file as you need them. These chunks can also be used in other files. That way you can create reusable components. The content of the files need not be static. They can contain Angular code that will be interpreted before being rendered.