Create a gist now

Instantly share code, notes, and snippets.

What would you like to do?
navigationLeft.js
angular.module("MonApplicationAngularJS")
.directive("navigationLeft", function(){
return {
restrict: 'E',
templateUrl: 'navigation-left.html',
controller: ["$scope", function($scope)
{
$scope.navigationItem = [{
label : 'element de navigation 1',
url: '/#/element1'
},{
label : 'element de navigation 2',
url: '/#/element2'
},{
label : 'element de navigation 3',
url: '/#/element3'
},{
label : 'element de navigation 4',
url: '/#/element4'
}];
}]
};
}]);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment