0

I am having

<uib-progressbar class="progress-striped active" value="100" type="warning" ng-hide="{{isLoaded}}"></uib-progressbar>

which i want to show this progress bar (ng-hide) until isLoaded is true..

and my script inside NameLists controller is

$scope.isLoaded = false;
$http({
      method: 'POST',
      url: 'services/getLists.php'
    }).success(function(data, status, headers, config){
        $scope.isLoaded=true;
        console.log(data);
    }).error(function(data, status, headers, config) 
    {

    });

after the data loaded I have changed isLoaded to true but the progressbar is not hide.

2
  • have you made a controller for your view? Commented Oct 31, 2015 at 6:46
  • replace {{isLoaded}} with "isLoaded" Commented Oct 31, 2015 at 6:47

1 Answer 1

2

Try:

 ng-hide="isLoaded"

Without the curlies.

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.