I hereby claim:
- I am omgduke on github.
- I am omgduke (https://keybase.io/omgduke) on keybase.
- I have a public key ASA0FEfyprnPCrIC_-etebZhnGUB25SfdAkcPfr0MZ4KQgo
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
function config($stateProvider) { | |
$stateProvider.state('my-component.hello-world', { | |
url: '/myUrl', | |
params: {tokenName: null}, | |
template: '<hello-world></hello-world>', | |
resolve: {promise: myCallback} | |
}); | |
} | |
// set a url that doesnt include the params and provide a default value of null for your params. |
// List all found elements as array | |
element.all(by.css('div p')).getText().then(console.log); |