<some-element [ngClass]="stringExp|arrayExp|objExp">...</some-element>
Previously, $compileProvider.preAssignBindingsEnabled was set to true by default. This means bindings were pre-assigned in component constructors. In Angular 1.5+ the place to put the initialization logic relying on bindings being present is the controller $onInit method.
To migrate follow the example below:
Before:angular.module('myApp', []) .component('myComponent', { bindings: {value: '<'}, controller: function() { this.doubleValue = this.value * 2; } });
After:angular.module('myApp', []) .component('myComponent', { bindings: {value: '<'}, controller: function() { this.$onInit = function() { this.doubleValue = this.value * 2; }; } });
<platform name="android">
<allow-intent href="market:*" />
<icon src="res/logo.png" density="ldpi" />
<icon src="res/logo.png" density="mdpi" />
<icon src="res/logo.png" density="hdpi" />
<icon src="res/logo.png" density="xhdpi" />
</platform>
~cordova platform update android@6.1