It is more common to put this kind of stuff in a controller.
...from my mobile.
>> > > For more options, visit this group at
>> >http://groups.google.com/group/angular?hl=en.
>>
>> > --
>> > You received this message because you are subscribed to the Google Groups
>> > "AngularJS" group.
>> > To post to this group, send email to ang...@googlegroups.com.
>> > To unsubscribe from this group, send email to
>> > For more options, visit this group at
>> >http://groups.google.com/group/angular?hl=en.
>
> --
> You received this message because you are subscribed to the Google Groups "AngularJS" group.
> To post to this group, send email to ang...@googlegroups.com.
> To unsubscribe from this group, send email to angular+unsubscribe@googlegroups.com.
I have a controller with a configurable parameter. I would like to insert the parameter in the template itself. Is there a way to achieve this? I.e., is there a way to pass a parameter from a DOM element to its controller?Thanks!
--
You received this message because you are subscribed to the Google Groups "AngularJS" group.
To view this discussion on the web visit https://groups.google.com/d/msg/angular/-/6_B3oLLUZjEJ.
To post to this group, send email to ang...@googlegroups.com.
To unsubscribe from this group, send email to angular+u...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/angular?hl=en.