title: angular & apache - $scope updated but need to click somewhere to show on interface
body: <p>My project back-end wrote with PHP, front-end with Angular.js and server is running by Apache in Linux.<br>
  The problem is, anytime i want to redirect to new page like <code>$location.path("/home")</code> i have to click somewhere on body to affect!<br>
  Or sometimes on getting data from ajx GET or POST method, $scope updated but nothing show until clicking somewhere on body!  </p>
  
  <p>This is Routing Config:</p>
  
  <pre><code>app.config(['$routeProvider', 
      function ($routeProvider) {
          $routeProvider
          .when('/home', {
              templateUrl: 'views/home/home.html',
              controller: 'homeControllers',
              caseInsensitiveMatch : true
          })
          .when('/', {
              templateUrl: 'views/home/home.html',
              controller: 'homeControllers'
          })
          .otherwise('/')
          ;
      }
  ]);
  </code></pre>
  
  <p>This is my POST Service:</p>
  
  <pre><code>app.factory("method", function(primaries) {
      return {
          POST: function(url, obj, callBack) {
              $.ajax({
                  url: primaries.urls.baseUrl + url,
                  method: 'POST',
                  dataType: 'json',
                  data: obj,
                  success: function(data) {
                      if (callBack) {
                          return callBack(data);
                      }
                      return data;
                  },
                  error: function(data) {
                      //console.log('ERROR on ' + url);
                  },
              });
          }
      }     
  });
  </code></pre>
  
  <p>And this is how i fill my $scope:</p>
  
  <pre><code>method.POST("/est/view", {"test":"test"}, function(data) {
      $scope.param = data;
  })
  </code></pre>
  
  <p>By the way, i tried <code>$scope.$apply()</code> but nothing changed!<br>
  I didn't have these problems on Localhost in windows with local data.<br>
  Whats the problem!?</p>