summaryrefslogtreecommitdiffstats
path: root/afb-client/app/Frontend/pages/SamplePost/SamplePost.js
blob: e0c06de2169c8743f34c36332e8ae4ecf49b5676 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
(function() {
'use strict';

// list all rependencies within the page + controler if needed
angular.module('SamplePostModule', ['SubmitButton','UploadFiles'])

  .controller('SamplePostController', function ($http) {
        var scope = this; // I hate JavaScript

        console.log ("sample Init");
        
        scope.FileUploaded = function (response) {
           console.log ("FileUploaded response=%s", JSON.stringify(response));
        };
   });

console.log ("PostSampleController Loaded");
})();