The application I’m developing at work has many independent parts, which needed their own states. Think of a UI similar to Photoshop, WebStorm, or such – Every panel in the UI is self-contained and can be changed without affecting the others. The standard ui-router has no concept of parallel states. Everything must be modeled as a tree, which means a …
How to fix JavaScript errors more easily with Chrome’s debugger
Let’s face it: As developers, much of our time is spent fixing problems. No matter how hard I try, there’s always something that needs debugging. In the past, I would use console.log or alert. Just sprinkle them in my code, and hope that they give me enough information to fix the problem. If you’ve tried doing that, you know that …