Thanks for the correction, I got that right in the real app :)
Adam
On Saturday, January 24, 2015 at 7:23:12 PM UTC+1, Sander Elias wrote:
>
> Hi Sándor,
>
> You can use indeed a function, but your function had an mistake, all
> workflows would only show the selected one in stead of the one you put into
> the workflow,
> this will work a bit better:
>
> vm.addWorkflow = function () {
> vm.workflow.push({
> id: ++id,
> partner:vm.selected,
> title: function() {
> return this.partner.name;
> }
> });
> };
>
> Hope you got it down now.
> 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/d/optout.