title: Check if value is not empty and not null in angular template?
body: <p>How do I check if value is not empty and not null.</p>
  
  <p>in Controller:
  <code>$scope.data.variable = 'some valid data';</code></p>
  
  <p><code>&lt;div ng-if="data.variable != ''"&gt;something else&lt;/div&gt;</code></p>
  
  <p>Thanks</p>