Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Kamil Kisiela
authored and
Dotan Simha
committed
Nov 22, 2016
1 parent
1394c5c
commit 6199a1f
Showing
1 changed file
with
24 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
import angular from 'angular'; | ||
import angularMeteor from 'angular-meteor'; | ||
import uiRouter from 'angular-ui-router'; | ||
|
||
import template from './partyDetails.html'; | ||
|
||
class PartyDetails { | ||
constructor($stateParams) { | ||
'ngInject'; | ||
|
||
this.partyId = $stateParams.partyId; | ||
} | ||
} | ||
|
||
const name = 'partyDetails'; | ||
|
||
// create a module | ||
export default angular.module(name, [ | ||
angularMeteor | ||
]).component(name, { | ||
template, | ||
controllerAs: name, | ||
controller: PartyDetails | ||
}); |