title: Hide div if value is undefined or blank (Angularjs)
body: <p>I have the following. If i do a console.log($scope.variable), i get 2 values of it at different times on the console. </p>
  
  <p>It shows undefined and '' at the console. </p>
  
  <p>I want to hide a div on basis of this value. I do the following</p>
  
  <pre><code>&lt;div ng-hide="$scope.variable== undefined || $scope.variable = ''&gt;
    Hide this section
  &lt;/div&gt;
  </code></pre>
  
  <p>It should be able to hide the section since the values are either undefined and '' at all cases. However the div still shows at the UI. Am i missing any constraint or not putting the condition check properly ?</p>