'use strict';

angular.module('fulgurator', [
    'ngRoute',
    'smart-table'
]).

    config(['$routeProvider', function ($routeProvider) {
        //$routeProvider.otherwise({redirectTo: '/view1'});
    }]).

    controller('LinksCtrl', ['$scope', '$filter', '$http', function (scope, filter, http) {

        var loadLinkFile = function() {
            http.get('links.json')
                .then(function(res){

                        scope.rowCollection = res.data;
console.log(scope.rowCollection);
                });
        }

        loadLinkFile();


        scope.predicates = ['name', 'tag', 'link'];
        scope.selectedPredicate = scope.predicates[0];


    }]);




@@ -139,67 +139,8 @@
 ) %7B%0A
-        //$routeProvider.otherwise(%7BredirectTo: '/view1'%7D);
 %0A   
@@ -412,41 +412,8 @@
 ta;%0A
-console.log(scope.rowCollection);
 %0A   

clean up app.js