(Last Updated On: August 12, 2018)

I read somewhere that with ng-show comes performance issues when rendering a page so to combat that I realized I could use $element dependency to improve performance.
This actually frees you from using NG-IF and NG-SHOW
In the controller

In the  view

<div class="wrapper">

This is a remote computer

</div>
<p>




app.controller('myController',function($scope,$element){
var magDiv = $element.find(".wrapper");
magDiv.hide();
$scope.someEventHereLikeNg-click= function () {
magDiv.show();
};
});

Easy, Cheesy and Peasy.