'use strict';

/* Dev Controller */

(function(){

    var samplerDevControllers = angular.module('samplerApp.controllers.dev', []);

    // This controller is for convenience when developing locally.
    //
    // The controller populates the form with sensible values and then
    // submits it.  This lets one visually inspect form output without
    // needing to repopulate the form after each code change.
    samplerDevControllers.controller('DevCtrl', ['$log', '$route', '$scope',
      function ($log, $route, $scope) {

        var defaultInputs = {
            debug: true,
            sampleCount: 5,
            seed: 'abc',
            smallestItem: 1,
            totalCount: 1000
        };

        angular.extend($scope.form.input, defaultInputs);

        $scope.form.submit();

    }]);

})();

@@ -607,9 +607,10 @@
 nt: 
-5
+12
 ,%0A  
@@ -629,16 +629,17 @@
 ed: 'abc
+d
 ',%0A     

Tweak dev data.