added template karma tests for angular