Angular MVC Solution with Javascript Unit testing