Skip to content

Instantly share code, notes, and snippets.

@nitayneeman
Last active September 11, 2017 16:01
Show Gist options
  • Save nitayneeman/bc2609779cc820f3a3b004191139bd52 to your computer and use it in GitHub Desktop.
Save nitayneeman/bc2609779cc820f3a3b004191139bd52 to your computer and use it in GitHub Desktop.
@Injectable()
export class AppService {
fetchData(): Rx.Observable<string> {
return Rx.Observable
.of('Todo')
.delay(1000);
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment