Skip to content
This repository was archived by the owner on Apr 12, 2024. It is now read-only.
This repository was archived by the owner on Apr 12, 2024. It is now read-only.

Defining value '$sniffer' silently breaks ngAnimate 1.4.7 #12982

Closed
@williamtroy

Description

@williamtroy

When following the guides for Angular here https://docs.angularjs.org/guide/$location#browser-in-html5-mode and here https://docs.angularjs.org/api/ngRoute/directive/ngView#animations I found that when you do this on version 1.4.7 (just like the tutorial does)

angular.module('ngViewExample').value('$sniffer', { history: true });

The application will simply stop adding the animation classes. No error whatsoever and no way to know what is going on.

You can see it happening here:
http://plnkr.co/edit/zLQ8OfdXaSzjNacpX98i?p=preview

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions