I have one parent state and many childs states. If I want the ui-sref-active on the parent to work when I am on one of the child I need to do this \"ha
ui-sref-active
You can check parent state only instead of checking all child states
parent state
all child
$scope.isActive = function() { return $state.includes('playLotteries'); }