@ardimedia/angular-portal-azure 0.2.9 → 0.2.10

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/apn.js CHANGED
@@ -916,12 +916,13 @@ var angularportalazure;
916
916
  // //#endregion
917
917
  //},
918
918
  controller: function () {
919
- var _this = this;
920
919
  this.vm.close = function () {
921
- angularportalazure.Debug.write('[angularportalazure-debug] \'directive:azurePortalBlade.close\' called.', [_this, portalService]);
922
- portalService.bladeArea.clearLastLevel();
920
+ console.log('azurePortalBlade.close()');
921
+ //angularportalazure.Debug.write('[angularportalazure-debug] \'directive:azurePortalBlade.close\' called.', [this, portalService]);
922
+ //portalService.bladeArea.clearLastLevel();
923
923
  };
924
- }
924
+ },
925
+ controllerAs: 'vm'
925
926
  };
926
927
  }
927
928
  angular.module('angularportalazure').directive('azurePortalBlade', ['$window', 'angularportalazure.portalService', azurePortalBlade]);
@@ -27,10 +27,12 @@ namespace angularportalazure {
27
27
  //},
28
28
  controller: function () {
29
29
  this.vm.close = () => {
30
- angularportalazure.Debug.write('[angularportalazure-debug] \'directive:azurePortalBlade.close\' called.', [this, portalService]);
31
- portalService.bladeArea.clearLastLevel();
30
+ console.log('azurePortalBlade.close()');
31
+ //angularportalazure.Debug.write('[angularportalazure-debug] \'directive:azurePortalBlade.close\' called.', [this, portalService]);
32
+ //portalService.bladeArea.clearLastLevel();
32
33
  };
33
- }
34
+ },
35
+ controllerAs: 'vm'
34
36
  };
35
37
  }
36
38
 
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "@ardimedia/angular-portal-azure",
3
3
  "description": "Angular Portal Azure - GUI Framework.",
4
4
  "author": "Ardimedia Anstalt <info@ardimedia.com> (http://www.ardimedia.com)",
5
- "version": "0.2.9",
5
+ "version": "0.2.10",
6
6
  "main": "index.js",
7
7
  "typings": "apn.d.ts",
8
8
  "dependencies": {