I'm not able to get UI Router to work properly on my page. It works fine for the navigation links, but not for the specific section I'm working on. I was able to recreate the issue in a plnkr (http://plnkr.co/edit/unQKWfkoSGdqaoncEPgG) and even compared it to an "official" plnkr that works fine and I don't see any differences. When I click a link, the URL changes, but the new page doesn't display.
$stateProvider
.state('home', {
abstract: true,
url: '/home',
templateUrl: 'home.html',
controller: function($scope){}
})
.state('home.resource', {
url: '/resource',
templateUrl: 'resource.list.html',
controller: function($scope){}
})
.state('home.resource.edit', {
url: '/edit/:id',
templateUrl: 'resource.edit.html',
controller: function($scope){}
});
Here's where the link is clicked:
<a ui-sref='.edit({id: 1})'>Go to edit</a>
Any help is appreciated. Thanks!