|
|
|
|
|
by ajanuary
3952 days ago
|
|
I don't know that "semantic" is what you mean here. Semantics in HTML is about exposing the meaning of content through the DOM. Adding data-binding via attributes doesn't change that at all. <label>Name <input type="text" [(ng-model)]="model.name"></label>
still encodes just as much semantics as <label>Name <input type="text"></label>
I think what you might have meant, as mariusmg mentioned in a sibling comment, is "separation of concerns"? Personally I think that has diminishing returns as your application gets more complex. It's very difficult not to still have tight coupling, just hidden under a layer of indirection. |
|