|
|
@@ -18,10 +18,11 @@ app.config(function($routeProvider, $locationProvider) {
|
|
|
})
|
|
|
});
|
|
|
|
|
|
-app.controller('sources', function($scope,$http) {
|
|
|
+app.controller('sources', function($scope,$http,$location) {
|
|
|
$scope.sources=[];
|
|
|
$scope.parsed_articles=[];
|
|
|
$scope.sourceCategory=1;
|
|
|
+ $scope.dev=$location.search().dev;
|
|
|
var categories = ["PR","News"];
|
|
|
$http.get("/pymnts/sources").then(
|
|
|
function(data){
|