Skip to content

Commit 947a9c9

Browse files
committed
Merge pull request johnpapa#210 from johnpapa/develop
fixed typo
2 parents 607e2d1 + 050e712 commit 947a9c9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1117,7 +1117,7 @@ While this guide explains the *what*, *why* and *how*, I find it helpful to see
11171117
### Restrict to Elements and Attributes
11181118
###### [Style [Y074](#style-y074)]
11191119
1120-
- When creating a directive that makes sense as a standalone element, allow restrict `E` (custom element) and optionally restrict `A` (custom attribute). Generally, if it could be its own control, `E` is appropriate. General guideline is allow `EA` but lean towards implementing as an element when its standalone and as an attribute when it enhances its existing DOM element.
1120+
- When creating a directive that makes sense as a stand-alone element, allow restrict `E` (custom element) and optionally restrict `A` (custom attribute). Generally, if it could be its own control, `E` is appropriate. General guideline is allow `EA` but lean towards implementing as an element when its stand-alone and as an attribute when it enhances its existing DOM element.
11211121
11221122
*Why?*: It makes sense.
11231123
@@ -2565,7 +2565,7 @@ Unit testing helps maintain clean code, as such I included some of my recommenda
25652565
25662566
*Why?*: Constants can be injected into any angular component, including providers.
25672567
2568-
*Why?*: When an application is separated into modules that may be reused in other applications, each standlone module should be able to operation on its own including any dependent constants.
2568+
*Why?*: When an application is separated into modules that may be reused in other applications, each stand-alone module should be able to operate on its own including any dependent constants.
25692569
25702570
```javascript
25712571
// Constants used by the entire app

0 commit comments

Comments
 (0)