Add optional parameter matching to .is and .includes
Merge pull request #446 from roryf/master

Add optional parameter matching to $state.is and $state.includes