Split template files from compiled-app.js for faster build
Add factory example