This is a quick example that illustrates the usage of gulp-angular-templatecache which will pre-cache all of your templates in the template directory and create a template.js into your public folder.
The project is also hosted on plnkr : http://plnkr.co/edit/sbpplYJj93X4ZhTdmPRh?p=preview