We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 83451d5 commit df2b88eCopy full SHA for df2b88e
docs/content/guide/dev_guide.unit-testing.ngdoc
@@ -163,7 +163,7 @@ function MyClass(xhr) {
163
This is the preferred method since the code makes no assumptions about the origin of `xhr` and cares
164
instead about whoever created the class responsible for passing it in. Since the creator of the
165
class should be different code than the user of the class, it separates the responsibility of
166
-creation from the logic. This is dependency-injection is in a nutshell.
+creation from the logic. This is dependency-injection in a nutshell.
167
168
The class above is testable, since in the test we can write:
169
<pre>
0 commit comments