I managed it to sort it out using some math

I haven't cleaned out the code too much but if anyone is interested here is 
the plunker :http://plnkr.co/edit/L6nZIYanQcDbQonh4zdl?p=preview

On Friday, October 10, 2014 3:20:12 PM UTC+2, lucian enache wrote:
>
> What I want to achieve is to be able to navigate over multiple ul lists 
> with keyboard arrows,
>
> currently I am using the $index in order to determine which item is 
> highlighted but when I have
> multiple ul's the $index is the same for both lists therefore the 
> highlight is duplicated.
>
> how can I achieve a continuous navigation, I was considering combining the 
> items in one 
> unique list but then I have no categories since each list should be a 
> category and the titles 
> of the categories should be left out of the navigation.
>
> here is an example of what I have managed to achieve so far :
> http://plnkr.co/edit/L6nZIYanQcDbQonh4zdl?p=preview
>
>  
>

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