- Avoid manual dependency annotations. Disable mangling or use a pre-processor such as ngannotate for annotations.
- Prefer
factory
toservice
. 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 thetranslate
filter for performance reasons. - Don't use the
jQuery
or$
global. Access jQuery viaangular.element
.