formElem catch submit event. It was my mistake. Sorry

вторник, 4 февраля 2014 г., 12:41:02 UTC+4 пользователь Олег Истомин 
написал:
>
> Yes. Now I use scope (scope[attr.name][error.field].$setValidity(error.type, 
> false);), but it is unbeautiful, I think. More I can't catch submit event 
> if I use formElem.on('submit', fn). ng-submit use same code similar my 
> example and work correct.
>
> вторник, 4 февраля 2014 г., 11:37:48 UTC+4 пользователь Sander Elias 
> написал:
>>
>> Hi Олег,
>>
>> You are aware of the fact that the formcontroller is exposed to the 
>> scope? Put a name in it, and it's available to you. 
>> http://plnkr.co/edit/WSQ8BYAl2xoHRVdf6hqQ?p=preview
>>
>> 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.

Reply via email to