In this example:
hideMe === true
if (!hideMe === true)
ngHide simply hide the element, but if you want it not to be run you should use
ngIf instead. According to the docs,
ngIf removes or recreates a portion of the DOM tree (i.e., no element, no directive and no controller) but
ngHide only change its visibility.
<div ng-if="hideMe"> <my-directive></my-directive> </div>