appRootController.js 245 B

1234567891011
  1. app.controller('AppRootController',['$scope',function($scope){
  2. $scope.isOpenMenu = false;
  3. $scope.toggleMenu = function(){
  4. if($scope.isOpenMenu){
  5. $scope.isOpenMenu = false;
  6. }else {
  7. $scope.isOpenMenu = true;
  8. }
  9. }
  10. }])