Skip to content
This repository has been archived by the owner on Jan 12, 2024. It is now read-only.

Support multiple named/nested views (controllers) by UI-Router #15

Open
auchenberg opened this issue Dec 9, 2015 · 1 comment
Open

Comments

@auchenberg
Copy link
Contributor

https://github.com/angular-ui/ui-router/wiki/Multiple-Named-Views

@auchenberg
Copy link
Contributor Author

Example:

    .state('app.ecourse.segment', {
      url: '/:segment',
      params: {
        media: null,
        play: false
      },
      views: {
        'app.ecourse.content': {
          templateUrl: 'app/ecourse/segment/segment.html',
          controller: 'SegmentController',
          controllerAs: 'ctrl'
        }
      }
    }

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant