Got the angular application MVC pattern working