Skip to content
Dean Sofer edited this page Aug 30, 2013 · 6 revisions
  1. Start prefixing your directives and services if you plan to release them. You should only feel inclined to ignore them WITHIN YOUR OWN APP. Checkout ui-alias to make life easier.
  2. Stop wrapping element inside of $(). All AngularJS elements are already jq-objects
  3. Stop doing if (!$scope.$$phase) $scope.$apply(), it means your $scope.$apply() isn't high enough in the call stack.
  4. Stop using jQuery to generate templates
  5. Stop releasing the same plugin 8 other people released. Learn to fork and pull request instead.
  6. Stop complaining about the docs without submitting a patch. They suck, we know.
Clone this wiki locally