The link to the page should be http://www.vipersbaseballblack.com/#/players

Haven't cleaned that up yet...

On Friday, January 29, 2016 at 9:24:35 AM UTC-5, Michael Eller wrote:
>
> Hi Forum,
>
> I am just starting out with angular.
>
> What I am trying to do is this...
>
> I have a page that displays several divs each containing a small picture 
> and name the person.
> What I want to do is when a user clicks on a given div, pass to an angular 
> function in the controller the selected person (text or numeric value).
> Then, based on that selection, take a set of data for the selected person 
> (name, number, age, other data) that is either retrieved at the click event 
> or page load from a database or is statically coded as an array of data in 
> the controller....and populate a hidden div's data fields....and then show 
> the hidden div.
>
> Looking for a best practice to do this.
>
> So rather than have a bunch of div containers for each person listed, just 
> populate one based on the selected person.
> I do not want to use a select dropdown for this....
>
> Can be seen at http://www.vipersbaseballblack.com/players
> That last player is responsive and is what I want all to do.
>
> Regards,
>
> Mike
>

-- 
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 https://groups.google.com/group/angular.
For more options, visit https://groups.google.com/d/optout.

Reply via email to