Triangular-angled release of AngularJS 1.1.5. What's new?

    Yesterday, the developers rolled out a new (not yet stable) version. Major changes:

    $ animator:
    added support for custom animation events [ click ]
    added the ability to globally disable and enable animation [ click ]

    $ http:
    added the ability to abort a request when fulfilling a promise (promise object) [ click ]
    added a default header for PATCH requests
    added support timeout for JSONP requests

    $ parse: added support for the ternary operator (exp1? exp2: exp3)

    $ q: added the $ q.always () method in the promise API, useful for cleaning garbage after fulfilling promises [ click ]

    $ controller: added support for “as controllerAlias” aliases in attributes [ click ]

    $ injector: Added has method for querying

    Directives:

    ngAnimate:
    added support for CSS3 animations with working delays and composite durations [ click ]
    as well as canceling previous unfinished animations at startup new

    ngSrcset: added new ngSrcset directive (similar to ngSrc and ngHref)

    ngIf: added adapted ui-if from AngularUI. Unlike ngShow / ngHide, it removes / restores an element in the DOM

    select: added trackByExpression to work with arrays and ngInclude objects

    :added $ includeContentRequested event that occurs when requesting content

    Mobile devices:

    ngClick: renamed ngTap + now it adds a CSS class for the clamped element [ click ]

    ngSwipe: added directives for left and right swipes [ left , right ]

    Docks are also improved, fixed bugs and so on.

    Full list of changes in English . You can download the assembly from the official site

    Also popular now: