Testfix for both new and old version of ui-router

If you want to make the *ui-router* version dynamic again in the *bower.json* this is the text fix you need so that the test passes for both versions. I should have made the test compatible with both versions from the first place.

This is the new test

``` javascript
    PermissionProvider.defineRole('withParams', function(params) {
      if(params.isset && angular.isString(params.isset)) {
        return params.isset === 'true';
      }
      else {
        return params.isset === true;
      }
    });
```

The *angular.isString* part is for the newest version and the other one for the *0.2.11*

Ignore this pull request if you want to make the ui-router dependency static.