Creating typed controls with inheritance with angular