var app = angular.module(
    'IHCApp',
    [
        'ngResource',
        'ngRoute',
        'ngCookies',
        'ui.bootstrap',
        'drwPolygon'
    ]
);

app.config(function($resourceProvider) {
  $resourceProvider.defaults.stripTrailingSlashes = false;
});

app.config(function($routeProvider) {
    $routeProvider.when(
        '/',
        {
            templateUrl: 'static/ng-app/partials/img_set_list.html',
            controller: 'ImageSetListController'
        }
    ).when(
        '/image-sets/:image_set_id',
        {
            templateUrl: 'static/ng-app/partials/img_set_detail.html',
            controller: 'ImageSetDetailController'
        }
    ).otherwise({ redirectTo: '/' });
});

app.config(function($httpProvider) {
  $httpProvider.defaults.withCredentials = true;
  $httpProvider.defaults.xsrfCookieName = 'csrftoken';
  $httpProvider.defaults.xsrfHeaderName = 'X-CSRFToken';
  $httpProvider.interceptors.push(function($cookies) {
    return {
      'request': function(config) {
        config.headers['X-CSRFToken'] = $cookies.get('csrftoken');
        return config;
      }
    };
  });
});

@@ -746,16 +746,18 @@
 ider) %7B%0A
+  
   $httpP
@@ -797,16 +797,18 @@
 = true;%0A
+  
   $httpP
@@ -850,24 +850,26 @@
 csrftoken';%0A
+  
   $httpProvi
@@ -913,16 +913,18 @@
 Token';%0A
+  
   $httpP
@@ -966,24 +966,28 @@
 $cookies) %7B%0A
+    
     return %7B
@@ -987,16 +987,22 @@
 eturn %7B%0A
+      
       'r
@@ -1037,16 +1037,24 @@
         
+     
+   
 config.h
@@ -1104,16 +1104,24 @@
 oken');%0A
+        
         
@@ -1145,17 +1145,29 @@
     
+  
+    
 %7D%0A    
+ 
+   
 %7D;%0A
+  
   %7D)

fix indentation in app.js