-
Notifications
You must be signed in to change notification settings - Fork 32
Open
Description
Hello,
When running gulp dist, the resulting dist/my-app.min.js just doesn't run as expected.
I'm using ui-router. When debugging inside my app's .config(), I see dependencies (including $stateProvider) are injected correctly.
But when it comes to states I've declared, they're never triggered. I tried debugging inside each state's controller, but that simply never happens (while trying to access appropriate routes of course).
In the end, the final rendering goes up to my <ui-view/>, which is empty, and that's it.
Two ways to get around that.
- Use
my-app.jsinstead. Not the best. - Turn uglify's mangling off in the gulpfile (in the
dist()function). But really not the best for production.
Any advice?
Metadata
Metadata
Assignees
Labels
No labels