Angular.js "how" syntax suddenly stops working on Chrome v. 39.0.2171.95 m

We are developing WebApp on Angular.js v. 1.3 and Node.js v 10.2x and we are using

 ng-controller="MainController as main"

      

and some others, but they are always the same syntax. We have initialization in the controller script as

 this.theme='blue-grey';

      

In devtools we can see that all variables (scopes) are not initialized and are not present in the DOM in Appstart. After using them, for example, with

<select ng-model="main.theme"><option>Blue-Theme</option></select>

      

they are handled by Angular. In summary: We use this syntax strictly. (Worked until the latest Chrome update!) And we didn't have a code change! Everything works fine in Firefox. Maybe this is a bug in Chrome ?!

Thanks and greetings from Germany

+3


source to share


1 answer


If you are using AngularJS Batarang (Chrome extension for AngularJS) try disabling it and check your app again. Batarang was updated a few days ago and some applications might be broken now, for example plnkr.co no longer works for me with Batarang enabled :(



+2


source







All Articles