Hi, I have found a solution if you see my plunk, but I have another question:

Why the result is an array of object of array ? 
I need to write this to access to the data: $scope.profile.emails[0].id[0]

Ok for "emails[0]" (it is logic), but why id[0] ? 

Thanks.

M.

Il giorno 24/mar/2014, alle ore 16:10, Ziobudda <[email protected]> ha scritto:

> Hi all, I have this code: 
> 
> http://plnkr.co/edit/8mfWiBfU2IGXGIf2WmOK
> 
> I need to permit to a user to add more and more email address and then do 
> some works with these email address when user click on the <button>. 
> But I can not understand how to get multiple value of a <input text> in my 
> ng-click function.
> 
> In PHP it's simple because I can set <input type=text name="email[]"> (note 
> []), but how I can do the same thing in Angularjs ? 
> 
> Thanks and sorry for my bad english.
> 
> M.
> 
> --
> Davide Morelli
> [email protected]
> 
> 
> 
> 

--
Davide Morelli
[email protected]




-- 
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/d/optout.

Reply via email to