Skip to content

Commit

Permalink
docs: put emphasis on attribute name
Browse files Browse the repository at this point in the history
Co-Authored-By: madmas <[email protected]>
  • Loading branch information
hendrikebbers and madmas authored Jan 15, 2019
1 parent 383d342 commit 9e79367
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ Connect to a Rico server endpoint and create an instance of the controller to ge

As we now have the contoller's model in the component available, we can make use of https://angular.io/api/forms/NgModel[Angular's ngModel] to use that model with our UI.

For example, we can bind a newItemText property of the model to a input field like this (https://github.com/rico-projects/rico-samples/blob/master/todo-list/client-angular/src/app/app.component.html#L17[from rico-samples ToDo list]):
For example, we can bind a 'newItemText' property of the model to a input field like this (https://github.com/rico-projects/rico-samples/blob/master/todo-list/client-angular/src/app/app.component.html#L17[from rico-samples ToDo list]):

<input type="text" [(ngModel)]="model.newItemText" (keyup.enter)="addTask()" class="form-control" placeholder="Task">

Expand Down

0 comments on commit 9e79367

Please sign in to comment.