angular/angular.js — pull request #1542 by jtymes (2012-11-08 14:46:07+00:00)
Title: fix (directive): Preserve display type in ngShow and ngHide

This preserves the display type when showing and hiding an element. This will only apply on the initial display state of the element. If the element's display type is modified to another value after creation, this will only set it back to its initial state, not the state it was before ngShow or ngHide have been performed.