diff --git a/cmd/templates/angular-template/frontend/src/app/app.component.ts b/cmd/templates/angular-template/frontend/src/app/app.component.ts.template
similarity index 93%
rename from cmd/templates/angular-template/frontend/src/app/app.component.ts
rename to cmd/templates/angular-template/frontend/src/app/app.component.ts.template
index e91b9168..1151c717 100644
--- a/cmd/templates/angular-template/frontend/src/app/app.component.ts
+++ b/cmd/templates/angular-template/frontend/src/app/app.component.ts.template
@@ -6,7 +6,7 @@ import { Component } from '@angular/core';
styleUrls: ['./app.component.css']
})
export class AppComponent {
- title = 'my-app';
+ title = '{{.Name}}';
clickMessage = '';
diff --git a/cmd/templates/angular-template/frontend/src/index.html b/cmd/templates/angular-template/frontend/src/index.html.template
similarity index 91%
rename from cmd/templates/angular-template/frontend/src/index.html
rename to cmd/templates/angular-template/frontend/src/index.html.template
index 35a46651..cf73b295 100644
--- a/cmd/templates/angular-template/frontend/src/index.html
+++ b/cmd/templates/angular-template/frontend/src/index.html.template
@@ -2,7 +2,7 @@
-MyApp
+{{.Name}}
diff --git a/cmd/templates/angular-template/frontend/src/main.ts b/cmd/templates/angular-template/frontend/src/main.ts
index 55e9bece..08cb1acb 100644
--- a/cmd/templates/angular-template/frontend/src/main.ts
+++ b/cmd/templates/angular-template/frontend/src/main.ts
@@ -8,7 +8,6 @@ import 'zone.js'
import Bridge from './wailsbridge';
-
if (environment.production) {
enableProdMode();
}
diff --git a/cmd/templates/angular-template/go.mod.template b/cmd/templates/angular-template/go.mod.template
index edd5326d..78038106 100644
--- a/cmd/templates/angular-template/go.mod.template
+++ b/cmd/templates/angular-template/go.mod.template
@@ -1 +1,5 @@
module {{.BinaryName}}
+
+require (
+ github.com/wailsapp/wails {{.WailsVersion}}
+)
\ No newline at end of file
diff --git a/cmd/templates/angular-template/main.go.template b/cmd/templates/angular-template/main.go.template
index 64890bd6..592c6b7d 100644
--- a/cmd/templates/angular-template/main.go.template
+++ b/cmd/templates/angular-template/main.go.template
@@ -17,7 +17,7 @@ func main() {
app := wails.CreateApp(&wails.AppConfig{
Width: 1024,
Height: 768,
- Title: "test22",
+ Title: "{{.Name}}",
JS: js,
CSS: css,
Colour: "#131313",