merge old template with angular.js and bootstrap