forked from angular/angular.js
-
Notifications
You must be signed in to change notification settings - Fork 0
Anti Patterns
Dean Sofer edited this page Aug 30, 2013
·
6 revisions
- Stop wrapping
element
inside of$()
. All AngularJS elements are already jq-objects - Stop doing
if (!$scope.$$phase) $scope.$apply()
, it means your$scope.$apply()
isn't high enough in the call stack. - Stop using jQuery to generate templates
- Stop releasing the same plugin 8 other people released. Learn to fork and pull request instead.
- Stop complaining about the docs without submitting a patch. They suck, we know.