Hi all,
I'm definitely a noob of Angular and I'm dealing with this problem:

I have the index.html file in a certain folder but I need to move all the 
other files (js, partials, etc etc) to a different location.
I managed to handle changing some paths, but I guess there could be a 
better solution, to define a global root path which will be used by angular 
to build the correct urls – is that correct?

e.g.
<div ng-http-loader template="<my-root-path>/partials/spinner.html"></div>
...
<img ng-src="<my-root-path>/img/myimage.png" class="center-block 
img-responsive" />
...

and so on. This actually works, but wondering if there's a smart way to do 
this without replacing all the occurrences of relative paths inside my 
templates/controllers etc.

thank you so much!

-- 
You received this message because you are subscribed to the Google Groups 
"AngularJS" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to angular+unsubscr...@googlegroups.com.
To post to this group, send email to angular@googlegroups.com.
Visit this group at http://groups.google.com/group/angular.
For more options, visit https://groups.google.com/d/optout.

Reply via email to