Reputation: 1093
I have a controller setup like so:
.controller( 'ProductsCtrl', function ProductsController( $scope, ProductRes, $state, $http ) {
$scope.updateThing = function() {
$scope.thing = true;
};
...
in the view I have:
<button ng-click='updateThing()'>CLICK THIS TO HIDE THE P</button>
<p ng-hide="{{thing}}">hide this when button clicked</p>
My other bindings work such as input filters and what not. So, it tells me there is something wrong with this particular setup...
Upvotes: 0
Views: 49