I've tweaked this many times and can't get a different result, grunt serve works fine and the app runs fine in that invironment
I have the main index.html at the base of the app folder, that holds the ui-view tag in it, then I have an index.html file at the base of the views folder where the Home state is loaded and and that's the file that all the other states get loaded into.
I really need some help figuring out this problem, I've been banging my head at it for a week and can't figure it out. I feel like I've tried everything but I'm not terribly knowledgable with angular and I'm just not sure at this point if it's something I've done wrong in angular (likely) or something that yeoman is not doing right (un-likely)
When I try to grunt build and upload my app to an S3 bucket every time I try to route to somewhere in the app I get this error and nothing ever loads.
I've been trying just about everything I've seen on stack overflow and here based on this issue and can't seem to figure out what's wrong at all.
I have tweaked my grunt file a bit, mainly adding babel to the build process so I can use es2015
Here is the whole grunt file for context
As far as routing goes I'm using the
stateProvider
I've tweaked this many times and can't get a different result,
grunt serve
works fine and the app runs fine in that invironmentI have the main
index.html
at the base of theapp
folder, that holds theui-view
tag in it, then I have anindex.html
file at the base of theviews
folder where theHome
state is loaded and and that's the file that all the other states get loaded into.I really need some help figuring out this problem, I've been banging my head at it for a week and can't figure it out. I feel like I've tried everything but I'm not terribly knowledgable with angular and I'm just not sure at this point if it's something I've done wrong in angular (likely) or something that yeoman is not doing right (un-likely)