Updated to use route path of js for anguler scripts

I modified to consider ```static-url-js ``` for angularJs scripts.