Hi,

you certainly can, but it's not the angular way to do it. Let me quote the 
FAQ <http://docs.angularjs.org/misc/faq>:

> DOM Manipulation
>
> Stop trying to use jQuery to modify the DOM in controllers. Really. That 
> includes adding elements, removing elements, retrieving their contents, 
> showing and hiding them. Use built-in directives, or write your own where 
> necessary, to do your DOM manipulation. See below about duplicating 
> functionality.
>
> If you're struggling to break the habit, consider removing jQuery from 
> your app. Really. Angular has the $http service and powerful directives 
> that make it almost always unnecessary. Angular's bundled jQLite has a 
> handful of the features most commonly used in writing Angular directives, 
> especially binding to events.
>
Best,

Johannes 

On Wednesday, February 5, 2014 12:50:49 AM UTC+1, biloki wrote:
>
> Hi everyone,
>
> I have a question very base: should we use jquery in the app that use 
> angularjs ? If not, what should we use as the controller of DOM ?
>
> Thank you very much
>

-- 
You received this message because you are subscribed to the Google Groups 
"AngularJS" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/angular.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to