Couldn't we just use ```$rootScope.$state.includes```?