feat(state): get state config

Example:
```javascript
var options = $state.getOptionsOfState('myStateName');
var url = options.url;
```