So, I was integrating AngularJS with a Django backend.
For loading the HTML partials/templates I am using angularjs' ui-router. Here's my angularjs code:
function config($stateProvider, $urlRouterProvider, $httpProvider, $locationProvider) {
$stateProvider.state("home", {
url: "",
controller: "HomeCtrl as home",
templateUrl: "/static/templates/home.html"
})
.state("feed", {
url: "/feed",
controller: "FeedCtrl as feed",
templateUrl: "/static/templates/feed.html"
})
}
My home state loads fine. But when I try to load the feed state, I get the following error:
I am guessing Django is interfering with angularjs' routing? How do I handle this?
