HNHacker News
TopNewBestAskShowJobs

pmaccart

1 karma · joined April 27, 2012

submissionscomments
pmaccart··on Lessons Learned: A Year with a Large AngularJS Project
Thanks -- I had tried going down the requirejs route with all controllers loaded into a 'controllers' module, directives into a 'directives' module, etc., and felt like I was writing way more boilerplate code than should be necessary with a framework like Angular. I'll have to revisit using requirejs with more of a page/functionality-oriented structure.
pmaccart··on Lessons Learned: A Year with a Large AngularJS Project
One of the issues I struggled with while toying around with AngularJS was how to load the many scripts (controllers, directives, etc.). Is there any suggested reading out there on how to perform this without just including a bunch of script tags on the page? Or, is this considered more of a build tool problem, where the scripts should all be concatenated, then loaded as a single file?