title: AngularJS, ng-show don't work when boolean changes value
body: <p>HTML page in AngularJS.
  My ng-show won't show div when boolean is set true.</p>
  
  <p>This is my HTML file:</p>
  
  <pre><code>&lt;div class="container"&gt;
  &lt;div ng-if="!query" ng-hide="editBoolean"&gt;
      &lt;h3&gt;{{article.id}} - {{article.title}}&lt;/h3&gt;
      &lt;h4 ng-bind-html="article.text"&gt;&lt;/h4&gt;
      &lt;button ng-click="edit(true)"&gt;Endre tekst&lt;/button&gt;
  &lt;/div&gt;
  
  &lt;div ng-show="editBoolean"&gt;
  
      &lt;style&gt;
      .ta-editor { 
          min-height: 300px; 
          height: auto; 
          overflow: auto; 
          font-family: inherit; 
          font-size: 100%; 
      } 
      &lt;/style&gt; 
  
      &lt;input type="text" ng-model="article.title" value="{{article.title}}"&gt;
  
      &lt;div text-angular="text-angular" ng-model="article.text"&gt;&lt;/div&gt;
      &lt;button ng-click="update(article.text, article.title)"&gt;Lagre&lt;/button&gt;
      &lt;button ng-click="edit(false)"&gt;Avbryt&lt;/button&gt;
  
  &lt;/div&gt;
  
  &lt;div ng-if="query"&gt;
      &lt;h3&gt;{{query}}&lt;/h3&gt;
  &lt;/div&gt;  
  </code></pre>
  
  <p></p>
  
  <p>This is my controller.js file: </p>
  
  <pre><code> // Article controller
  wikiControllers.controller('articleController', ['$scope', 'articleService',     '$routeParams', '$sanitize', 
    function($scope, articleService, $routeParams, $sanitize){
  $scope.editBoolean = false;
  $scope.edit = function(editValue){
    this.editBoolean = editValue;
    console.log(this.editBoolean);
  };
    }]);
  </code></pre>
  
  <p>When i have console.log my booleanfil, it shows true(The value is changed)</p>