SIGN IN SIGN UP
angular / angular.js UNCLAIMED

AngularJS - HTML enhanced for web apps!

0 0 0 JavaScript

docs(guide/controller): only show best practice controller creation

If it is not recommended to use a global function to create controllers,
why should it be shown as possible in the documentation?

One of the most common complaints about AngularJS is that it doesn't enforce
any convention. This is intentional and I generally like this.
However if we can avoid outright bad implementations in examples I believe
we should.

Closes #8011
C
cranesandcaff committed
be41adc99fd2d4a889a8055f568d09ae59bd440f
Parent: 7e77521
Committed by Peter Bacon Darwin <pete@bacondarwin.com> on 7/3/2014, 11:01:20 AM