changed {{domain}} to {{this.domain}} due to conflict with helper fn
renamed api_result