@ardimedia/angular-portal-azure 0.2.20 → 0.2.21

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
@@ -901,7 +901,7 @@ var angularportalazure;
901
901
  restrict: 'E',
902
902
  transclude: true,
903
903
  scope: {},
904
- bindToController: { vm: '=vm' },
904
+ bindToController: { vm: '=' },
905
905
  templateUrl: '/node_modules/@ardimedia/angular-portal-azure/directives/blade/blade.html',
906
906
  link: function (scope, element, attrs, controller) {
907
907
  console.log('azurePortalBlade.link()');
@@ -980,7 +980,7 @@ var angularportalazure;
980
980
  return {
981
981
  restrict: 'E',
982
982
  scope: {},
983
- bindToController: { vm: '=options' },
983
+ bindToController: { vm: '=' },
984
984
  templateUrl: '/node_modules/@ardimedia/angular-portal-azure/directives/home/home.html',
985
985
  link: function (scope, element, attrs, controller) {
986
986
  console.log('azurePortalHome.link()');
@@ -989,7 +989,8 @@ var angularportalazure;
989
989
  controller: function () {
990
990
  console.log('azurePortalHome.controller()');
991
991
  console.log(this);
992
- }
992
+ },
993
+ controllerAs: 'vm'
993
994
  };
994
995
  }
995
996
  angular.module('angularportalazure').directive('azurePortalHome', azurePortalHome);
@@ -1000,7 +1001,7 @@ var angularportalazure;
1000
1001
  return {
1001
1002
  restrict: 'E',
1002
1003
  scope: {},
1003
- bindToController: { vm: '=viewModel' },
1004
+ bindToController: { vm: '=' },
1004
1005
  templateUrl: '/node_modules/@ardimedia/angular-portal-azure/directives/nav/nav.html',
1005
1006
  link: function (scope, element, attrs, controller) {
1006
1007
  console.log('nav.link()');
@@ -1033,7 +1034,7 @@ var angularportalazure;
1033
1034
  return {
1034
1035
  restrict: 'E',
1035
1036
  scope: {},
1036
- bindToController: { vm: '=viewModel' },
1037
+ bindToController: { vm: '=' },
1037
1038
  templateUrl: '/node_modules/@ardimedia/angular-portal-azure/directives/navgrid/navgrid.html',
1038
1039
  link: function (scope, element, attrs, controller) {
1039
1040
  console.log('navGrid.link()');
@@ -249,10 +249,10 @@
249
249
  </div>
250
250
 
251
251
  <!-- nav -->
252
- <div data-ng-if="vm.isNav" data-nav data-view-model="vm"></div>
252
+ <nav data-ng-if="vm.isNav" vm="vm"></nav>
253
253
 
254
254
  <!-- navGrid -->
255
- <div data-ng-if="vm.blade.isNavGrid" data-nav-grid data-view-model="vm.blade.navGrid"></div>
255
+ <nav-grid data-ng-if="vm.blade.isNavGrid" vm="vm.blade.navGrid"></nav-grid>
256
256
 
257
257
  </div>
258
258
  </div>
@@ -8,7 +8,7 @@ namespace angularportalazure {
8
8
  restrict: 'E',
9
9
  transclude: true,
10
10
  scope: {},
11
- bindToController: { vm: '=vm' },
11
+ bindToController: { vm: '=' },
12
12
  templateUrl: '/node_modules/@ardimedia/angular-portal-azure/directives/blade/blade.html',
13
13
  link: function (scope, element, attrs, controller) {
14
14
  console.log('azurePortalBlade.link()');
@@ -4,7 +4,7 @@
4
4
  return {
5
5
  restrict: 'E',
6
6
  scope: {},
7
- bindToController: { vm: '=options' },
7
+ bindToController: { vm: '=' },
8
8
  templateUrl: '/node_modules/@ardimedia/angular-portal-azure/directives/home/home.html',
9
9
  link: function (scope, element, attrs, controller) {
10
10
  console.log('azurePortalHome.link()');
@@ -13,8 +13,8 @@
13
13
  controller: function () {
14
14
  console.log('azurePortalHome.controller()');
15
15
  console.log(this);
16
- }
17
- //controllerAs: 'vm'
16
+ },
17
+ controllerAs: 'vm'
18
18
  };
19
19
  }
20
20
 
@@ -3,7 +3,7 @@
3
3
  return {
4
4
  restrict: 'E',
5
5
  scope: {},
6
- bindToController: { vm: '=viewModel' },
6
+ bindToController: { vm: '=' },
7
7
  templateUrl: '/node_modules/@ardimedia/angular-portal-azure/directives/nav/nav.html',
8
8
  link: function (scope, element, attrs, controller) {
9
9
  console.log('nav.link()');
@@ -3,7 +3,7 @@
3
3
  return {
4
4
  restrict: 'E',
5
5
  scope: {},
6
- bindToController: { vm: '=viewModel' },
6
+ bindToController: { vm: '=' },
7
7
  templateUrl: '/node_modules/@ardimedia/angular-portal-azure/directives/navgrid/navgrid.html',
8
8
  link: function (scope, element, attrs, controller) {
9
9
  console.log('navGrid.link()');
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.20",
5
+ "version": "0.2.21",
6
6
  "main": "index.js",
7
7
  "typings": "apn.d.ts",
8
8
  "dependencies": {