* move window.apiPrefix into Angular service
* avoid routing by accept headers, integrate api service
* Revert "Fixed over-matching of index route."
This reverts commit 62e1225dd3.
* better name for index template file
10 lines
145 B
JavaScript
10 lines
145 B
JavaScript
'use strict';
|
|
|
|
angular.module('insight.api')
|
|
.factory('Api',
|
|
function() {
|
|
return {
|
|
apiPrefix: '/insight-api'
|
|
}
|
|
});
|