initial templating and angularjs set up