Skip to content

Commit

Permalink
Step 3.16: Switch from templateUrl to 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 4e2fb8f commit b8b3232
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions imports/ui/components/partiesList/partiesList.js
@@ -1,7 +1,7 @@
import angular from 'angular';
import angularMeteor from 'angular-meteor';

import templateUrl from './partiesList.html';
import template from './partiesList.html';

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

0 comments on commit b8b3232

Please sign in to comment.