Skip to content

Commit

Permalink
remove old/dead links
Browse files Browse the repository at this point in the history
  • Loading branch information
ngMachina committed Jul 6, 2021
1 parent 6fff2e7 commit 31637be
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions modules/directive-duplications.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,6 @@ Because we no longer define every component and directive directly in every comp

Let's assume for a moment that by mistake, we have created two directives that target the same property:

> This example is a variation of the code found in the [official documentation](https://angular.io/docs/ts/latest/guide/ngmodule.html#!#resolve-conflicts).
_blue-highlight.directive.ts_

```javascript
Expand Down Expand Up @@ -74,8 +72,6 @@ We can see that in the template of our component, we are using the directive `ap

The answer is: the text is going to be gray and the background yellow.

[View Example](https://plnkr.co/edit/yY3RRPDxf6urDfsMVNik?p=preview)

We are allowed to define multiple directives that target the same elements in the same module. What's going to happen is that Angular is going to do every transformation **in order**.

```javascript
Expand Down

0 comments on commit 31637be

Please sign in to comment.