I\'m using AngularUI router (0.2.13) and have a state defined as such
.state(\'foo\', { template:\'\',
They simplified the api. See this thread:
https://github.com/angular-ui/ui-router/issues/2664#issuecomment-204593098
in 0.2.19 we are adding $resolve to the $scope, allowing you to do "route to component template" style template: ,
in 0.2.19 we are adding $resolve to the $scope, allowing you to do "route to component template" style
template: ,