Skip to content

Latest commit

 

History

History
14 lines (12 loc) · 767 Bytes

README.md

File metadata and controls

14 lines (12 loc) · 767 Bytes

Angular

  • Avoid manual dependency annotations. Disable mangling or use a pre-processor such as ngannotate for annotations.
  • Prefer factory to service. If you desire a singleton, wrap the singleton class in a factory function and return a new instance of that class from the factory.
  • Prefer the translate directive to the translate filter for performance reasons.
  • Don't use the jQuery or $ global. Access jQuery via angular.element.