changed the views to use angular routing.