Angular Track Height
Watch an element for the min or/and max height then save it for use somewhere else
Mostly to avoid flicker on ui-view/ng-view when it changes height.
Tracks the height of an element for usage somewhere else, like inside a controller or inside other directives.
You can set the min and max, depending on the options you pass to it.
By passing "min", the
min-height will be set to the mininum value the element ever had (can be 0)
By passing "max", the
min-height will be set to the max value the element ever had
By passing "min max", the
height will be set to the max value the element ever had (might have problems with heavily responsive elements)
You can access your element height using this service, by the name you provide
Gets the min or max height of an element
Programatically sets the min or max height of an element