Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Step 23.19: Use downgraded Ng2 Component
  • Loading branch information
DAB0mB committed Dec 14, 2016
1 parent f2d7b9f commit 6e35c69
Showing 1 changed file with 2 additions and 9 deletions.
11 changes: 2 additions & 9 deletions imports/ui/components/partyUninvited/partyUninvited.ts
Expand Up @@ -40,14 +40,7 @@ export const PartyUninvitedNg1Module = angular.module(name, [
angularMeteor
]);

export function registerPartyUninvited() {
export function registerPartyUninvited(adapter) {
PartyUninvitedNg1Module
.component(name, {
template,
controllerAs: name,
bindings: {
party: '<'
},
controller: PartyUninvited
});
.directive(name, adapter.downgradeNg2Component(PartyUninvited))
}

0 comments on commit 6e35c69

Please sign in to comment.