Closed zh99998 closed 7 years ago
I see there is totally no js in generated response . How to do something in browser?
for example <button (click)="sayHello()"> {{greetings}}
sayHello() {this.greetings = "hello"}
I think you have to create a separate js bundle for the browser and load it. I've extended this example a little bit to do just that: https://github.com/marvinscharle/angular-server-test
I see there is totally no js in generated response . How to do something in browser?
for example <button (click)="sayHello()"> {{greetings}}
sayHello() {this.greetings = "hello"}