@ardimedia/angular-portal-azure 0.2.27 → 0.2.29

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
@@ -1107,7 +1107,7 @@ var angularportalazure;
1107
1107
  link: function (scope, element, attrs, controller) {
1108
1108
  //console.log('nav.link()');
1109
1109
  //console.log(this);
1110
- angular.forEach(scope.vm.navItems, function (item) {
1110
+ angular.forEach(controller.vm.navItems, function (item) {
1111
1111
  // Set some default values, depending on existing values
1112
1112
  if (item.isVisible == undefined) {
1113
1113
  item.isVisible = true;
@@ -8,7 +8,7 @@
8
8
  link: function (scope, element, attrs, controller) {
9
9
  //console.log('nav.link()');
10
10
  //console.log(this);
11
- angular.forEach(scope.vm.navItems, function (item) {
11
+ angular.forEach(controller.vm.navItems, function (item) {
12
12
  // Set some default values, depending on existing values
13
13
  if (item.isVisible == undefined) { item.isVisible = true; }
14
14
  if (item.title == undefined || item.title == '') { item.style = { cursor: 'default' }; }
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.27",
5
+ "version": "0.2.29",
6
6
  "main": "index.js",
7
7
  "typings": "apn.d.ts",
8
8
  "dependencies": {