by Tim A. Perez
Important Common Pitfalls to Avoid:
- $watch, $watchCollection, etc – Avoid using any kind of watches in General. These can quickly and exponentially increase digest cycles and can be completely avoided with good usage of inheritance.
- Event Driven Logic – this makes code extremely difficult to maintain/debug as it grows. This includes $broadcast, $emit, $on, etc…