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
4026074aba95f183c0c75595c7fea1c7e0ced118
Parent: d9a596a
Committed by Peter Bacon Darwin <pete@bacondarwin.com> on 7/3/2014, 11:13:49 AM