use data- attribute for view declaration