Commit 66f5ed2
Robert
Demonstrate dependency issue with upgraded UI-Router
You should see the error:
```
angular.js:4442 Uncaught Error: Unrecognised token store: localStorage
at Object.getTokenStore (stormpath-sdk-angularjs.js:3394)
at new StormpathOAuthToken (stormpath-sdk-angularjs.js:2322)
at StormpathOAuthTokenProvider.$get (stormpath-sdk-angularjs.js:2476)
at Object.invoke (angular.js:4478)
at angular.js:4295
at getService (angular.js:4437)
at Object.invoke (angular.js:4469)
at Object.enforcedReturnValue [as $get] (angular.js:4330)
at Object.invoke (angular.js:4478)
at angular.js:4295
```
Moving the UI Router below stormpath will fix the prolem:
```
angular.module('exampleApp', [
'stormpath',
'stormpath.templates’,
'ui.router'
])
```1 parent 02b7e8e commit 66f5ed2
3 files changed
Lines changed: 4578 additions & 7 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
14 | | - | |
15 | | - | |
16 | | - | |
17 | | - | |
18 | | - | |
19 | | - | |
| 14 | + | |
20 | 15 | | |
21 | 16 | | |
22 | 17 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
24 | 24 | | |
25 | 25 | | |
26 | 26 | | |
27 | | - | |
| 27 | + | |
28 | 28 | | |
29 | 29 | | |
30 | 30 | | |
| |||
0 commit comments