In my app.js I have
$scope.onclick = function(){
// appending directve "exmDir" to body.
document.body.setAttribute('exm-dir', '');
}
The exm-dir
is appending to body but it doesn't show its contents. How can I compile? Please help me.