Trying Angular.js trailing slash problem solution