Duration: 17:19 min
Summary: In this lesson, we are continuing our long journey with directives. As I discussed few lessons ago, directives play a key role in Angular and we need to spend some time exploring them. Today, I will start with the ng-hide and ng-show. We are using the same book controller as before. We will create another column with spans that are driven by the directives. Then, we will take the same example and edit it to support ng-if instead. This will show us different ways of working with these directives. But keep in mind that the data is hidden but still occupies space as far as the browser is concerned (we are simply hiding the data, and not removing it). Finally, we will see how to add filters to ng-repeat to filter the sets of data we are interested in.