-
-
Save mszoernyi/8f09fe20f3421f7d9657 to your computer and use it in GitHub Desktop.
Angular view helper?
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<footer ng-if="isFooterVisible()"> Some footer elements </footer> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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