This repository was archived by the owner on Apr 12, 2024. It is now read-only.
  
  
  
  
  
Description
See https://docs.angularjs.org/api/ng/directive/ngIf#animations
The source contains the following text:
 * @animations
 * enter - happens just after the `ngIf` contents change and a new DOM element is created and injected into the `ngIf` container
 * leave - happens just before the `ngIf` contents are removed from the DOM
However, enter and leave are rendered all strung together (ignoring new lines):
enter - happens just after the ngIf contents change and a new DOM element is created and injected into the ngIf container leave - happens just before the ngIf contents are removed from the DOM
Instead I'd expect enter and leave events to be shown on two separate lines:
enter - happens just after the ngIf contents change and a new DOM element is created and injected into the ngIf container
leave - happens just before the ngIf contents are removed from the DOM
or better yet, use back ticks around the event names (enter and leave) for clarity:
enter - happens just after the ngIf contents change and a new DOM element is created and injected into the ngIf container
leave - happens just before the ngIf contents are removed from the DOM