Skip to content
This repository was archived by the owner on Apr 12, 2024. It is now read-only.

Commit 68146cc

Browse files
meldaravanielNarretz
authored andcommitted
docs(guide/Conceptual Overview): add a hyphen for clarity
Minor change, but the heading for "View independent business logic..." would be more clear if it had a hyphen, "View-independent". Perhaps it's because I'm new to javascript and its terminology, but I read "View" as a verb rather than a noun on the first pass and had to read on a bit to understand that it was, instead, referring to The View. If you go just by grammar rules, making "view independent" into the compound adjective, "view-independent", makes it clear that it is modifying "business logic". (http://www.grammarbook.com/punctuation/hyphens.asp - see Rule 1).
1 parent c01b1f4 commit 68146cc

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/content/guide/concepts.ngdoc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -179,10 +179,10 @@ The following graphic shows how everything works together after we introduced th
179179

180180
<img style="padding-left: 3em; padding-bottom: 1em;" src="img/guide/concepts-databinding2.png">
181181

182-
## View independent business logic: Services
182+
## View-independent business logic: Services
183183

184184
Right now, the `InvoiceController` contains all logic of our example. When the application grows it
185-
is a good practice to move view independent logic from the controller into a
185+
is a good practice to move view-independent logic from the controller into a
186186
<a name="service">{@link services service}</a>, so it can be reused by other parts
187187
of the application as well. Later on, we could also change that service to load the exchange rates
188188
from the web, e.g. by calling the Yahoo Finance API, without changing the controller.

0 commit comments

Comments
 (0)