SIGN IN SIGN UP
angular / angular.js UNCLAIMED

AngularJS - HTML enhanced for web apps!

0 0 1 JavaScript

docs(cookbook): change prototype methods to scope methods in Buzz

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.
A
Amir H. Hajizamani committed
4f5583465a03ad032416b655be4450138d852d4c
Parent: 75487ec
Committed by Brian Ford <btford@umich.edu> on 1/18/2013, 5:49:41 AM