I am trying to put a nested view inside my modal. I can pull in the first-layer views fine but the nested view is tricking me somehow. Not sure what I am missing here?
http://plnkr.co/edit/g9cScdORPOz57zGCzQDA
var App = angular.module('App', ['ui.router']); // routes // ------------------------- App.config(function($stateProvider, $urlRouterProvider) { $stateProvider // default state route .state('app',{ url: '/', views: { 'content': { templateUrl: 'home.html' }, 'modals': { templateUrl: 'modal.html' } } }) // + modal content .state('app.form', { url: '/form', views: { 'modal-content@modals': { templateUrl: 'form.html' } } }) //catch all route $urlRouterProvider.otherwise('/'); })