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
Description
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
Labels
No labels