title: How to use "ng-if" within the Html <a> tag?
body: <p>I'm a newbie to AngularJS. I am creating an example program.
  In that I have an HTML  tag which has to be used based on a condition.</p>
  
  <p>If i apply "ng-if" to the  tag the content under the tag is hidden.</p>
  
  <p>In my scenario the content has to be displayed but, if only the condition satisfies  tag has to be applied.</p>
  
  <pre><code>&lt;a href="someurl" ng-if="a != 3&gt;
      &lt;div&gt; Text and image goes here &lt;/div&gt;
  &lt;/a&gt;
  </code></pre>
  
  <p>If "<strong>a</strong>" is not equal to "<strong>3</strong>" then the content has to be displayed without href.</p>
  
  <p>I would need some help to achieve this.</p>
  
  <p>Thanks in advance...</p>