Please help rewrite the script without jquery.
here http://jsfiddle.net/xMUdA/ I made a slide-out panel. used angularjs and jquery.
it is necessary that was used only angularjs
js:
var app = angular.module("moduleSlidePanel", []);
app.controller("controllerSlidePanel", function ($scope, $timeout){
// -------------------------------------------------------------------------------------------------- implementation ----------
$scope.visible = function(){
$('.slide_panel').addClass('showPanel');
};
$scope.invisible = function(){
$('.slide_panel').removeClass('showPanel');
};
// -------------------------------------------------------------------------------------------------- initialization ----------
});