Skip to content
GitLab
Projects
Groups
Topics
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Izeni
Angular Template
Wiki
data store
data store
· Changes
Page history
jlewis created page: testing
authored
Apr 18, 2017
by
Joe Lewis
Show whitespace changes
Inline
Side-by-side
data-store.md
View page @
1ca1d187
...
@@ -45,12 +45,14 @@ example usage:
...
@@ -45,12 +45,14 @@ example usage:
...
...
public
constructor
(
public
constructor
(
private
data
:
Data
,
private
data
:
Data
,
)
{}
)
{
public
ngOnInit
()
{
this
.
data
.
Book
.
read
(
42
).
subscribe
(
book
=>
{
this
.
data
.
Book
.
read
(
42
).
subscribe
(
book
=>
{
console
.
log
(
book
);
console
.
log
(
book
);
});
});
}
public
ngOnInit
()
{
}
}
...
...
```
```
...
...