Skip to content

Commit

Permalink
assign this to vm in dialogs. Closes #16"
Browse files Browse the repository at this point in the history
  • Loading branch information
jadjoubran committed Jan 21, 2016
1 parent a997a0f commit 14dfb43
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions src/Console/Commands/Stubs/AngularDialog/dialog.js.stub
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,16 @@


function {{StudlyName}}Controller(DialogService){
var vm = this;

this.save = function(){
vm.save = save;
vm.hide = hide;

var save = function(){
//
};

this.hide = function(){
var hide = function(){
DialogService.hide();
};

Expand Down

0 comments on commit 14dfb43

Please sign in to comment.