3 ms·
If you can solve something in jQuery, why are you using Angular? Wrong tool for the job. If you have an application that otherwise uses Angular, and you have a
by zoomerang 12y ago
If you can solve something in jQuery, why are you using Angular? Wrong tool for the job.
If you have an application that otherwise uses Angular, and you have a snippet of jQuery code that you want to use, wrapping it in a directive takes about 30 seconds. Alternatively, if you don't want to write a directive, you can just run the jQuery code directly as if Angular didn't even exist.
- collyw 12y agoBecause the cool kids are all using Angular and NoSQL.
- chazu 12y agoTo me, a large part of the value proposition behind angular is in a) making your app as declarative as possible and b) isolating resuable and imperative code in modules (directives or services in the parlance of angular).