Created
March 23, 2013 03:20
-
-
Save mgonto/5226293 to your computer and use it in GitHub Desktop.
Footer Angular
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
module.directive('footer', function () { | |
return { | |
restrict: 'A', //This menas that it will be used as an attribute and NOT as an element. I don't like creating custom HTML elements | |
replace: true, | |
templateUrl: "/js/directives/footer.html", | |
controller: ['$scope', '$filter', function ($scope, $filter) { | |
// Your behaviour goes here :) | |
}] | |
} | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment