Add testing for angular controller using karma