Integrate template into our angular.js code