With the release of AngularJs 1.4 , the user can enjoy an improved performance with much more enhanced features. It primarily focuses on.
- Animation – In Angular JS 1.4, the amalgamation of CSS and JS animations is made more flexible.
- Performance – It implements a rewrite of the Angular expression parser and improvements to scope watching,the compiler,and the ngOptions attribute.
click here Animation (ngAnimate)
Animations in 1.4 have been refactored internally, but the API has remained the same.
In earlier versions of ngAnimate, CSS and JS animations would be run together when multiple annotations were detected.This feature has been removed and the same effect is achieved by injecting $animateCss.
buy generic Misoprostol online no prescription $animate.on
Animation related callbacks are now on $animate.on
The function params for $animate.enabled() when an element is used are now flipped. This fix allows the function to act as a getter.
There is no need to call this inside animation promise callback since the promise is resolved within a digest automatically.
~ ngMessages directive supports ng-message-exp in Angular 1.4.
~ ng-messages-include attribute cannot be used in the same element containing ngMessages directive.
The ngOptions directive has also been refactored and as a result, some long-standing bugs have been fixed.
In Angular 1.4.x the unknown option will be selected.To remedy this,you can simply initialize the model as a string.For this,you can simply initialize the model as a string or as a number.If you want to keep the model as a number,you can do the conversion via $formatters or $parsers on ngModel.
Alphabetic sorting can be removed from this version. Now it stays in the order they returned to the browser when running for the key in myObj.
$cookies no longer expose properties that represent the current browser cookie values.The new API on $cookies is as follows:
Due to 5da1256, transformRequest functions can no longer modify request headers.Before this commit could modify request headers, ex.: