> > Thank you Anthony for the elegant solution. You made it possible that both > ( jquery and angular ) live together. > > I was thinking about switching totally from jquery to angular. > > is this a good strategic move? >
I generally like Angular and the single page app architecture, but it really depends on your particular use case. jQuery and Angular aren't stictly comparable (jQuery is mainly for DOM manipulation, and Angular is a full-fledged client-side framework), and in fact, Angular even depends on jQuery (or at least a "light" version of it). One challenge with client-side templates is that it can be difficult to enable search engine crawlers to index your public content (crawlers generally only index the content generated by the server and do not execute the Javascript intended to generate the views in the browser). Newer frameworks like Derby <http://derbyjs.com/> deal with that by running the same Javascript on both the client and the server (via Node.js). Anthony

