title: Will I ever need to use ejs or layouts if I use Angular for frontend?
body: <p>I'm currently using Sails for backend, which comes with an ejs view engine and a templating system which is rather neat. However, setting up Angular on the front end of things will get in the way of these functions.</p>
  
  <p>For instance, I can no longer use templates, because if I have say <code>&lt;html ng-app="myApp"&gt;</code> inside <code>layout.ejs</code> Angular will never initialize.</p>
  
  <p>Same thing should I include any ejs templates.</p>
  
  <p>So what I have done now is created a <code>index.html</code> file inside my <code>assets</code> folder, turned off the Sails routes and layouts, and am purely working with Angular. This will do fine for my current project (except I can't make things as tidy as I'm used to, the boilerplate html need to sit there, etc.) but will it be a problem in other projects, I wonder?</p>
  
  <p>In other words, what am I missing out on by not using ejs? How will I ever be able to get things from my Sails controllers into my views? Or won't I need to?</p>