Removed ejs substitutions and using angularjs for path patameters