i want to send two states in ui-sref,

*ui-sref="something1/something2" *

in my current state which is :

        .state('competitions',{
          url : '/competitions',
          parent : 'Events',
          templateUrl : 'views/genres/competitions.html',
          controller : 'Home'
        })
so i defined a state like this  
.state('intocompetitions',{
          url : '/:genre',
          parent : 'competitions',
          templateUrl : 'views/competitions/dance.html',
          controller : 'Home'
        })

it shows cannot resolve *something1/something2 in the state competitions*

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