Skip to content

Instantly share code, notes, and snippets.

@mszoernyi
Created September 5, 2014 21:03
Show Gist options
  • Save mszoernyi/8f09fe20f3421f7d9657 to your computer and use it in GitHub Desktop.
Save mszoernyi/8f09fe20f3421f7d9657 to your computer and use it in GitHub Desktop.
Angular view helper?
<footer ng-if="isFooterVisible()"> Some footer elements </footer>
function MyController($scope) {
$scope.isFooterVisible = function() {
// check some properties
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment