This repository has been archived by the owner on Sep 5, 2024. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(docs): Use $scope instead of scope
To avoid confusion I guess it would be good to keep the examples consistent. While `scope` in `DialogController` will be the same as `$scope` it brings confusion to the reader. The fix also includes missing `}` mentioned here: Here's a working pen: http://codepen.io/anon/pen/ZGWOpZ. Fixes #2788. Closes #2836.
- Loading branch information
9683d66
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I wonder why
scope
would have worked the same as$scope
. Isn't it DI'ed ?