Template inheritance for Angular JS