What is the best way to set up a project using angular 2 and rails 5? I was using it with angular 1.5 and typescript before, and had the asset pipeline setup with the typescript rails gem. It all seemed to work fine.
Now I’m not quite sure how this systemjs works, or how to use angular 2 without it. What I’m looking for is all of my angular code somewhere in the repo, compiling the files into the public folder un-concatenated. Would this be the best way to do it? Another way I was thinking was have a development server running as well in a different folder, work on it as two separate apps, then when it comes time to production, minify all the files (but not concatenate them) and serve them up in the public folder.