Skip to content

Instantly share code, notes, and snippets.

@khoand0000
Created August 14, 2015 18:01
Show Gist options
  • Save khoand0000/d442af3c80b52a42e2ad to your computer and use it in GitHub Desktop.
Save khoand0000/d442af3c80b52a42e2ad to your computer and use it in GitHub Desktop.
Put ng-hide into class when using ng-show

In iOS, elements use ng-show always show when loaded and disappear immediately. To avoid the problem, add ng-hide into class like that

<a class="ng-hide" ng-show="false">some text</a>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment