@ardimedia/angular-portal-azure 0.2.115 → 0.2.116

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.
Files changed (3) hide show
  1. package/apn.d.ts +1 -0
  2. package/apn.js +2 -1
  3. package/package.json +1 -1
package/apn.d.ts CHANGED
@@ -295,6 +295,7 @@ declare namespace angularportalazure {
295
295
  panorama: angularportalazure.Panorama;
296
296
  bladeArea: angularportalazure.BladeArea;
297
297
  ngDialog: any;
298
+ $scope: angular.IScope;
298
299
  $injector: angular.auto.IInjectorService;
299
300
  $http: angular.IHttpService;
300
301
  $httpBackend: angular.IHttpBackendService;
package/apn.js CHANGED
@@ -146,6 +146,8 @@ var angularportalazure;
146
146
  //#region Constructor
147
147
  function UserControlBase(portalService) {
148
148
  this.portalService = portalService;
149
+ this.portalService.$scope = this.portalService.$injector.get('$scope');
150
+ console.log(this.portalService.$scope);
149
151
  }
150
152
  return UserControlBase;
151
153
  }());
@@ -894,7 +896,6 @@ var angularportalazure;
894
896
  //#region Properties
895
897
  this.parameter = { action: 'none', itemId: 0 };
896
898
  this.$injector = $injector;
897
- //this.$scope = $scope;
898
899
  this.$http = $injector.get('$http');
899
900
  this.$httpBackend = $injector.get('$httpBackend');
900
901
  this.$q = $injector.get('$q');
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.115",
5
+ "version": "0.2.116",
6
6
  "main": "index.js",
7
7
  "typings": "apn.d.ts",
8
8
  "dependencies": {