We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Thanks UI router team and @christopherthielen for updating DSR to work with UI-Router 1.x!
I didn't see any note on usage with AngularJS, but this is what I'm using with v1.6:
/** * @module $deepStateRedirect */ import angular from 'angular'; import uiRouter from '@uirouter/angularjs'; import { DSRPlugin } from '@uirouter/dsr'; export const name = 'ct.ui.router.extras.dsr'; export default angular.module(name, [uiRouter]) .provider('$deepStateRedirect', $uiRouterProvider => { 'ngInject'; const $deepStateRedirect = $uiRouterProvider.plugin(DSRPlugin); Object.defineProperty($deepStateRedirect, '$get', { value: () => $deepStateRedirect, }); return $deepStateRedirect; }) .config($deepStateRedirectProvider => { 'ngInject'; }) .run($deepStateRedirect => { 'ngInject'; }) .name;
Would be nice to have some documentation (per #5) explaining AngularJS (and other integrations), or even include integrations in this repo.
The text was updated successfully, but these errors were encountered:
Added 3 angularJS examples via fbfa85e
Sorry, something went wrong.
No branches or pull requests
Thanks UI router team and @christopherthielen for updating DSR to work with UI-Router 1.x!
I didn't see any note on usage with AngularJS, but this is what I'm using with v1.6:
Would be nice to have some documentation (per #5) explaining AngularJS (and other integrations), or even include integrations in this repo.
The text was updated successfully, but these errors were encountered: