chore(plop): fix controller import in template (#3948)

pull/3949/head
Chaim Lev-Ari 2020-06-22 10:38:22 +03:00 committed by GitHub
parent 7bd3d6e44a
commit 5760648970
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 4 deletions

View File

@ -1,6 +1,6 @@
import {{properCase name}}Controller from './{{dashCase name}}/{{camelCase name}}Controller.js'
import {{properCase name}}Controller from './{{camelCase name}}Controller.js'
angular.module('portainer.{{module}}').component('{{camelCase name}}', {
templateUrl: './{{camelCase name}}.html',
controller: {{properCase name}}Controller,
});
templateUrl: './{{camelCase name}}.html',
controller: {{properCase name}}Controller,
});