added loaded option to the template binding