While working on a site using AngularJS, everything appears to be working perfectly when run locally. However, in the deployed version, there is a strange issue where 'index.html' is being loaded in the ui-view instead of the specified partial at the 'orderinfo' state.
Has anyone experienced something similar or have any insight into what might be causing this unexpected behavior?
// ...
state( 'order', {
url: '/results/order/:id',
templateUrl: 'views/order.html',
controller: 'OrderController as order'
} )
.state( 'orderinfo', {
url: '/results/order/edit/:id/:secret',
templateUrl: 'views/orderinfo.html',
controller: 'OrderInfoController as orderInfo'
} )
.state( 'orderconfirm', {
url: '/results/order/confirm/:id/:secret',
templateUrl: 'views/orderconfirm.html',
controller: 'OrderConfirmController as orderconfirm'
} )
// ...