Uncaught TypeError: object is not a function angular-animate.js:992
I think this code could be executed in web app without error. Cannot understand where is the mistake in the code. If this is because of ionic, is there any approach to fix the error? or just ignore it?
it is searching for a value that you defined on your scope, if you do it in the controller it would be:
$scope.true = true;
Basically, ng-show searches for an attribute on your scope, so using “true” will not validate as a boolean, but is searching for the attribute “true” on the scope.
after I run ‘bower update angular’ (even the new version is same as the preview one), the issue fixed.
ng-show=“true” works fine.
So I think “true” is acceptable.