Template code for a Single Page Application using angular.js