update template engine and added angularjs