So, I think I sort of understand the code that you are trying to get to
work, but I don't understand why you are trying to do things in this way
when there are much simpler options (what about ng-model is bad?).

In any event, it looks like you're misunderstanding the semantics of the
"=sigil" in isolate scope definitions.

Try writing this without ever using $parent or ng-init. Those are
definitely smells. If you're still confused, let me know.


On Thu, Feb 6, 2014 at 10:56 AM, Chris Rhoden <[email protected]> wrote:

> I am having a hard time understanding what you're looking to do.
>
> Your mycontrol directive is way too complicated. Try this instead.
>
> http://jsfiddle.net/JYeq9/
>
>
> On Thu, Feb 6, 2014 at 10:49 AM, Sander Elias <[email protected]>wrote:
>
>> Hi,
>>
>> have a loko at this: http://jsfiddle.net/rc7uC/3/
>>
>> Still needs work, but you can go on from here. Sting handling is a bit of
>> a challenge if you have to do this!
>>
>> Regards
>> Sander
>>
>> --
>> 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.
>>
>
>
>
> --
> chrisrhoden
>



-- 
chrisrhoden

-- 
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