aboutsummaryrefslogtreecommitdiffstats
path: root/changelog.spec.js
diff options
context:
space:
mode:
authorAmir H. Hajizamani2013-01-14 19:34:00 +0000
committerBrian Ford2013-01-18 00:56:52 -0500
commit6e8728a364004a541b9d6ccc1898eb9e7c5e9fc2 (patch)
treea57ecda0f817f77e566ace2e1ad12ad6ffb9331e /changelog.spec.js
parentf179a63dd49050bec65cfd7f755413d2ed90a03b (diff)
downloadangular.js-6e8728a364004a541b9d6ccc1898eb9e7c5e9fc2.tar.bz2
docs(guide): change prototype methods to scope methods in DI examples
As explained in 'Understanding the Controller Component', Controllers written for new (post 1.0 RC) versions of Angular need to add methods to the scope directly, not the function's prototype. Correcting this example should remove any ambiguity, especially for beginners.
Diffstat (limited to 'changelog.spec.js')
0 files changed, 0 insertions, 0 deletions