meteor / meteor/simple-todos-angular

"$scope.viewModel(this)" is not documented

Open
#21 0 comments 7 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
49
Forks
32
PR merge metrics
No merged PRs in 30d

Description

Step 3.3 at [1] uses following code which doesn't seem to be explained or documented anywhere:

```
$scope.viewModel(this);
```

There is also a related StackOverflow question[2] which no-one has been able to answer yet.

[1] https://www.meteor.com/tutorials/angular/collections
[2] http://stackoverflow.com/questions/37831978/difference-between-reactivethis-attachscope-and-scope-viewmodelthis

Contributor guide

No contributing guide indexed for this repository

Research direction

Start with Step 3.3 of the Meteor Angular collections tutorial and inspect the unexplained `$scope.viewModel(this);` example. Compare the related StackOverflow question to establish what needs explaining; done means the tutorial or project documentation clearly describes this call and its relationship to the surrounding Angular Meteor code.

Written by the indexing model from the issue text.

Assessment

Tech stack
angular, javascript
Domain
documentation
Issue type
Documentation
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.