Move the ellipsis template out of isolated scope

This will enable binding inside the ellipsis template to properties
defined in the parent scope, that are unrelated to the ellipsis layout