0

I have setup a plunker to demonstrate my question:
http://plnkr.co/edit/xVtli2DKzNDCU1W99gOE?p=preview

The plunker lists the people with their brief details. What I need is, when the above boxes gets clicked, the complete person's details should be displayed in the "person-list" div.

How can we achieve using Angular JS?

Thanks for reading.

0

1 Answer 1

3

Something like this plunkr? The ng-click will set the scope with the selected person.

Sign up to request clarification or add additional context in comments.

2 Comments

I seriously don't know what was I thinking. Pretty easy solution. Thanks a lot Sean. You have a good day.
Is there a way to do this but let the person be edited?

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.