@ardimedia/angular-portal-azure 0.2.114 → 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 +2 -2
  2. package/apn.js +4 -3
  3. package/package.json +1 -1
package/apn.d.ts CHANGED
@@ -272,7 +272,7 @@ declare namespace angularportalazure {
272
272
  declare namespace angularportalazure {
273
273
  class PortalService {
274
274
  static $inject: string[];
275
- constructor($injector: angular.auto.IInjectorService, $scope: angular.IScope);
275
+ constructor($injector: angular.auto.IInjectorService);
276
276
  parameter: angularportalazure.BladeParameter;
277
277
  $analytics: angulartics.IAnalyticsService;
278
278
  animate: any;
@@ -295,8 +295,8 @@ declare namespace angularportalazure {
295
295
  panorama: angularportalazure.Panorama;
296
296
  bladeArea: angularportalazure.BladeArea;
297
297
  ngDialog: any;
298
- $injector: angular.auto.IInjectorService;
299
298
  $scope: angular.IScope;
299
+ $injector: angular.auto.IInjectorService;
300
300
  $http: angular.IHttpService;
301
301
  $httpBackend: angular.IHttpBackendService;
302
302
  $q: angular.IQService;
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
  }());
@@ -889,12 +891,11 @@ var angularportalazure;
889
891
  var angularportalazure;
890
892
  (function (angularportalazure) {
891
893
  var PortalService = (function () {
892
- function PortalService($injector, $scope) {
894
+ function PortalService($injector) {
893
895
  //#endregion
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');
@@ -908,7 +909,7 @@ var angularportalazure;
908
909
  return PortalService;
909
910
  }());
910
911
  //#region Constructor
911
- PortalService.$inject = ['$injector', '$scope'];
912
+ PortalService.$inject = ['$injector'];
912
913
  angularportalazure.PortalService = PortalService;
913
914
  angular.module('angularportalazure').service('angularportalazure.portalService', PortalService);
914
915
  })(angularportalazure || (angularportalazure = {}));
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.114",
5
+ "version": "0.2.116",
6
6
  "main": "index.js",
7
7
  "typings": "apn.d.ts",
8
8
  "dependencies": {