add template or partial testing support to karma and some tests for the AddressCtrl