Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

    require([
    -   "blah"
    +   "blah",
    +   "blorp"
    ], function () {
AngularJS templates often can involve JSON structures for <select> and other UI junk.

It'd be great if a backend could serve JSON structures directly to the Controller, which would inform the Directive's @attr template. So maybe the problem goes away in this regard, and the build could handle AMD/CommonJS wrappers which is outside of the version control layer to an extent — or at least wrappers do not necessarily have to be.

    require([
        "blah",
        "blorp",
    ], function () {
I added ``blorp`` — I never removed ``blah`` except for some limitation of the language I'm using. Why should that be part of the organic record?


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: