Would ```$state.includes()``` work for you here?

https://github.com/angular-ui/ui-router/wiki/Quick-Reference#stateincludespartialstatename