Hi,

I'm new to angular and i'm struggling a bit with the directive concept.

I want to write a simple app that displays a list of items on the left and 
show their position at the same time on a map on the right
For now i managed to display both information but i cant make them interact 
the way i want.
I've tried to write a directive but don't know exaclty how i should access 
the data.

Let's say my partial contains a UL list with elements 
each element is represented by a marker on the map
when clicking on an element i want the map to pan and zoom to the selected 
marker and have element content to be displayed as popup above the marker.

I think i need a directive for that.
But how can I refer to data of the selected item?
Can some one help me or give me an example?

Thanks for any help


-- 
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