blob: d49f598070de2bce52dcb80fe13d1af0a3b1544a (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
app.directive('qFooter', 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: false,
templateUrl: "app/fusion/scripts/view-models/footer.html",
controller: ['$scope', '$filter', function ($scope, $filter) {
// Your behaviour goes here :)
}]
}
});
|