Skip to content

Commit c856f59

Browse files
murraybauersmithad15
authored andcommitted
@select example code snippet is missing brackets (#227)
Binding brackets in angular 2 should be {{binding}} not {binding} as in the example code
1 parent a730fe4 commit c856f59

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

packages/store/docs/select-pattern.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -32,11 +32,11 @@ import { select } from 'ng2-redux';
3232
pipes: [AsyncPipe],
3333
selector: 'counter-value-printed-many-times',
3434
template: `
35-
<p>{counter$ | async}</p>
36-
<p>{counter | async}</p>
37-
<p>{counterSelectedWithString | async}</p>
38-
<p>{counterSelectedWithFunction | async}</p>
39-
<p>{counterSelectedWithFunctionAndMultipliedByTwo | async}</p>
35+
<p>{{counter$ | async}}</p>
36+
<p>{{counter | async}}</p>
37+
<p>{{counterSelectedWithString | async}}</p>
38+
<p>{{counterSelectedWithFunction | async}}</p>
39+
<p>{{counterSelectedWithFunctionAndMultipliedByTwo | async}}</p>
4040
`
4141
})
4242
export class CounterValue {

0 commit comments

Comments
 (0)