polymer version of what was intended to by an angular app