add angular 1.2, create base class for default and simple registration