Skip to content

Commit 4bd3ea7

Browse files
committed
clarified naming of assets vs files
1 parent 0cc583b commit 4bd3ea7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1554,7 +1554,7 @@ While this guide explains the *what*, *why* and *how*, I find it helpful to see
15541554
15551555
- **Naming Guidelines**: Use consistent names for all components following a pattern that describes the component's feature then (optionally) its type. My recommended pattern is `feature.type.js`. There are 2 names for most assets:
15561556
* the file name (`avengers.controller.js`)
1557-
* the registered asset name with Angular (`AvengersController`)
1557+
* the registered component name with Angular (`AvengersController`)
15581558
15591559
*Why?*: Naming conventions help provide a consistent way to find content at a glance. Consistency within the project is vital. Consistency with a team is important. Consistency across a company provides tremendous efficiency.
15601560

0 commit comments

Comments
 (0)