[AngularJS] Re: How to pass values to scope of dynamically created element

2014-11-09 Thread Junio Branco
Hey tomw, What is the scope that you set? I assume you are defining this inside a directive. On Sunday, November 9, 2014 1:17:56 AM UTC+8, tomw wrote: Hi, I'm trying to pass some values after dynamic creation of a new element.. The new element is created in a directive like this:

[AngularJS] Re: How to pass values to scope of dynamically created element

2014-11-09 Thread tomw
What is the scope that you set? I assume you are defining this inside a directive. Thanks, that was exactly the question I should have asked myself :-) As the code stands now, the template is compiled and linked to the scope of the directive in which the template is added. So the best