A Template for AngularJS SPAs