4 ms·
In practice, compartmentalizing sections of a page into declarative chunks of JS and HTML actually helps keep things really organized. When each link in a neste
by treeface 13y ago
In practice, compartmentalizing sections of a page into declarative chunks of JS and HTML actually helps keep things really organized. When each link in a nested directive chain is completely independent of one another, it makes refactoring a problematic area much simpler. And of course all of this makes unit and functional testing much simpler.
- Bahamut 13y agoAngular's declarative approach makes it easier to separate angular out if you choose to switch frameworks for whatever reason. Personally, I've found backbone pretty disgusting, although perhaps better than vanilla js/jquery.