can you send the the working project sample with rounting templateUrl, 
which IDE used for Development. I am Using Eclipse Luna with angularjs IDE

On Thursday, March 19, 2015 at 5:16:36 PM UTC+5:30, Lorenzo Fontana wrote:
>
> 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 [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/angular.
For more options, visit https://groups.google.com/d/optout.

Reply via email to