<input type="button" value="Back" (click)="back()"> <h1>Need page</h1> <p>id: {{need?.id}}</p> <p>name: {{need?.name}}</p> <p>filterAttributes: {{need?.filterAttributes}}</p> <p>type: {{need?.type}}</p> <p>max goal: {{need?.maxGoal}}</p> <p>current: {{need?.maxGoal}}</p>