ember template and code