Sums up what I wanted to do. I think in this particular instance things have moved on and it may be easy these days, but thinking about what would have happened if I'd had to figure out that code myself, I could envision spending a day or two figuring out how to add something that is a one-liner in jQuery. It made me nervous about "unknown unknowns", too, whereas pjax is pretty easy to reason about.
Funny to see my own blog post as a reference here, thank you.
On topic, it actually took me a while to figure out how it works. But now I understood it and similar problems later were solved in no time.
That said I think you need a while to really learn AngularJS before you should use it in your product. If you don't have the time then you might have a problem. You don't need to learn about the internals, which is good, but you definitely need to learn the core concepts.
Comments
http://www.grobmeier.de/angular-js-binding-to-jquery-ui-date...
Sums up what I wanted to do. I think in this particular instance things have moved on and it may be easy these days, but thinking about what would have happened if I'd had to figure out that code myself, I could envision spending a day or two figuring out how to add something that is a one-liner in jQuery. It made me nervous about "unknown unknowns", too, whereas pjax is pretty easy to reason about.
Funny to see my own blog post as a reference here, thank you.
On topic, it actually took me a while to figure out how it works. But now I understood it and similar problems later were solved in no time.
That said I think you need a while to really learn AngularJS before you should use it in your product. If you don't have the time then you might have a problem. You don't need to learn about the internals, which is good, but you definitely need to learn the core concepts.
Ahh. Gluing a jquery plugin into an angular app will always be hairy.
You may have been able to pick apart angular-ui to include only their datepicker directive.
Mixing jQuery and Angular just seems like a bad idea, to me...