I am working with two components:
export const TopBarMemberComponent: angular.IComponentOptions = {
bindings: {},
require: {
controller: '^EngagementSetupMember'
},
templateUrl: 'topBarMembers.component.html'
}
And a parent component:
export const EngagementSetupMember: IComponentOptions = {
controller: EngagementMembersController,
templateUrl: 'engagement.component.html'
}
This is within a module
import {EngagementSetupMember} from './../engagementMembers.component';
import {TopBarMemberComponent} from './topBarMembers.component'
export const topBarMembersModule: string = angular
.module('topbar-members', [])
.component('topbarMemberComponant', TopBarMemberComponent)
.name;
When trying to use it, an error message appears
"Cannot find EngagementSetupMemberController"
Please assist!