These are chat archives for ngUpgraders/ng-forward
The default solution for those that want to write Angular 2.x style code in Angular 1.x
hey guys I am trying to use the @StateConfig for the first time and I see that it require the ui-router to be loaded for it to work, now heres where I am alittle confused, there seems to be 2 ways in which the ui-router gets loaded and actually 2 difference ui-router packages
require("angular-ui-route"); providers: ["ui.router"]
or
import uiRouter from 'ui-router'; providers: [uiRouter ]
ah my typo, alright follow up clarification, both should not be in my packages,
"angular-ui-router": "^0.2.18", "ui-router": "^1.0.0-alpha0",
and the typings for the ui-router, where would be the best lib to get them from?
import uiRouter from 'ui-router';the implication is that there is a loaded module by that name, am i right in assuming that the references in the ng-forward doc that reference the ui-router package mean to reference angular-ui-router
import IState = ng.ui.IState;ng.ui.IState does not exist