Skip to content

Commit

Permalink
Step 3.14: Import template
Browse files Browse the repository at this point in the history
  • Loading branch information
Kamil Kisiela authored and DAB0mB committed Dec 14, 2016
1 parent a7af154 commit 806f63d
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion imports/ui/components/partiesList/partiesList.js
@@ -1,6 +1,8 @@
import angular from 'angular';
import angularMeteor from 'angular-meteor';

import templateUrl from './partiesList.html';

class PartiesList {
constructor($scope, $reactive) {
'ngInject';
Expand All @@ -21,7 +23,7 @@ const name = 'partiesList';
export default angular.module(name, [
angularMeteor
]).component(name, {
templateUrl: `imports/ui/components/${name}/${name}.html`,
templateUrl,
controllerAs: name,
controller: PartiesList
});

0 comments on commit 806f63d

Please sign in to comment.