Added two way binding to the variable passed into the `result` attribute
Removed populateResult because it breaks the two-way binding