Angular Generator done my way