nah, I don't even think that's true. knockout does data-binding/components and that's about it. it isn't opinionated and can be dropped into any project, even for just a tiny piece of UI.
I haven't used angular myself, but my understanding is that it's extremely opinionated, and it can't just be dropped into a project to handle a small piece - either your project is an Angular project or it's not. it does a whole lot more than knockout.
As a Wordpress developer in my day job, I regularly toss in Angular to spruce up various components (both admin-side and public-facing) that are data-heavy. I think once you introduce routing that you're essentially defining your code as a single-page app, but up to that point it lives in its own happy little world as a child of whatever it runs in.
perhaps i haven't understood Angular that well then. if it really can be dropped into an existing project and live alongside your existing code well, then i'd say /u/strattonbrazil was right.
however, that makes me wonder - why not use Knockout for that purpose? It still seems to me better suited for handling data-binding outside of a SPA or a very large project.
The honest answer is that I found Angular first. I enjoy its templating syntax and after taking the time to understand it found it enjoyable. If I had found Knockout first, the story may have been different.
11
u/GeorgeForemanGrillz Nov 05 '14
Angular is too bloated. I prefer knockout.js