That'll work fine. There are many different approaches to javascript apps. You can go angular, react, ember, etc on the front end, then node, ruby, python, php, java, javascript, etc on the backend. All will work fine in 90% of cases. People have their preferences for which has the best organization, speed, documentation and whatnot, but the most important thing is that you use one that you want to be using, so that you remain excited enough to learn them. My suggestion is to do a RESTfull backend, so that you get started out using a good interface between your back and front ends. Have fun!