Why use angular like jquery? Why not use angular like angular....or use
jquery.

https://groups.google.com/forum/#!msg/angular/kqZDVSUlkd0/sge6KsaaKQAJ


On Thu, Jan 9, 2014 at 6:17 PM, biloki <vuducbinhs...@gmail.com> wrote:

> What do you mean ? I know: to add event click on an element, I add
> directly event on element, for ex:
>
> <div id="div1" ng-click="clickFunction()"></div>
>
> But it's not dynamic, I find the dynamic way like jquery like:
>
> $("#div1").bind('click',function(){})
> $(".button").bind('click',function(){})
>
> So is there any way to do that in angularjs ?
>
>
> On Friday, January 10, 2014 1:03:56 AM UTC+1, Kijana Woodard wrote:
>
>> http://docs.angularjs.org/guide/concepts
>>
>>
>> On Thu, Jan 9, 2014 at 6:00 PM, biloki <vuducb...@gmail.com> wrote:
>>
>>> Hello,
>>>
>>> I'm beginner of Angularjs. Normally by jquery, to bind an event for the
>>> HTML element, I do like this:
>>>
>>> $( "#foo" ).bind( "click", *function*() {
>>>
>>> alert( "User clicked on 'foo.'" );
>>>
>>> });
>>>
>>> I'm using Angular in my project, so how to bind the event to the element
>>> like jquery in angular ?
>>>
>>> Anyone can help me
>>>
>>> Thank you
>>>
>>> --
>>> 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 angular+u...@googlegroups.com.
>>> To post to this group, send email to ang...@googlegroups.com.
>>>
>>> Visit this group at http://groups.google.com/group/angular.
>>> For more options, visit https://groups.google.com/groups/opt_out.
>>>
>>
>>  --
> 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 angular+unsubscr...@googlegroups.com.
> To post to this group, send email to angular@googlegroups.com.
> Visit this group at http://groups.google.com/group/angular.
> For more options, visit https://groups.google.com/groups/opt_out.
>

-- 
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 angular+unsubscr...@googlegroups.com.
To post to this group, send email to angular@googlegroups.com.
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