SIGN IN SIGN UP
angular / angular.js UNCLAIMED

AngularJS - HTML enhanced for web apps!

0 0 0 JavaScript

docs(tutorial): change controllers to not have name twice

While giving the controller function a name helps with debugging,
since otherwise your controller will be anonymous in stack traces,
passing the name to both the `controller()` method and as the function name
is confusing for beginners.

Closes #4415
V
victorbjelkholm committed
c6016a6a85780ae68f71bbdd0eea391977225b7e
Parent: 977e2f5
Committed by Pete Bacon Darwin <pete@bacondarwin.com> on 11/14/2013, 2:47:01 PM