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

> I cannot stand codebases that mix code and markup together.

In Angular people can write

    app.directive('myDirective', function () {
      template: "<strong>oh no</strong>"
    });
which is what I think they were getting at.


Sure, but that's not idiomatic Angular. I'd wager the majority of Angular projects don't even use custom directives.




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

Search: