Skip to content

Commit 799ddff

Browse files
authored
Merge pull request #115 from minademian/typos-fix-17aug16
fix(readme): Typos
2 parents 4bdb69d + fe71073 commit 799ddff

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

README.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -273,7 +273,7 @@ Controllers should only be used alongside components, never anywhere else. If yo
273273
Here are some advisories for using `Class` for controllers:
274274

275275
* Always use the `constructor` for dependency injection purposes
276-
* Don't export the `Class` directly, export it's name to allow `$inject` annotations
276+
* Don't export the `Class` directly, export its name to allow `$inject` annotations
277277
* If you need to access the lexical scope, use arrow functions
278278
* Alternatively to arrow functions, `let ctrl = this;` is also acceptable and may make more sense depending on the use case
279279
* Bind all public functions directly to the `Class`
@@ -309,7 +309,7 @@ Let's define what we'd call a "stateful component".
309309
* Renders child components that mutate state
310310
* Also referred to as smart/container components
311311

312-
An example of a stateful component, complete with it's low-level module definition (this is only for demonstration, so some code has been omitted for brevity):
312+
An example of a stateful component, complete with its low-level module definition (this is only for demonstration, so some code has been omitted for brevity):
313313

314314
```js
315315
/* ----- todo/todo.component.js ----- */
@@ -381,7 +381,7 @@ Let's define what we'd call a "stateless component".
381381
* Data enters the component through attribute bindings (inputs)
382382
* Data leaves the component through events (outputs)
383383
* Mutates state, passes data back up on-demand (such as a click or submit event)
384-
* Doesn't care where data comes from, it's stateless
384+
* Doesn't care where data comes from, its stateless
385385
* Are highly reusable components
386386
* Also referred to as dumb/presentational components
387387

0 commit comments

Comments
 (0)