How do I pass specific bindings to ng-outlet components brought in by the component router in Angular 1.5?
问题 I'd like to be able to pass parameters to child components brought in with ng-outlet. But I'm not sure how to do it. Here's an example of my component bindings: app.component('profile', { bindings: { section: '=', currentUser: '<' }, ... Normally I'd invoke this like so: <profile section="$ctrl.bio" current-user="$ctrl.selectedUser"></profile> But instead I have this: <ng-outlet></ng-outlet> And a router that passes the profile in. $routeConfig: [ { path: '/Profile/:id', name: 'Profile',