Hello Reader's, If you are looking to make some animation effect to hide a div from website then in this blog you can learn how to do this. Hiding any div can done by many ways but by using Angular JS you can put some animation effect in it. So lets get started working on it.
Step 1 create a simple html page and its code will be go like this:-
<h1>Click to hide / show the div: <input type="checkbox" ng-model="myCheck"></h1>
In the HTML code above you just have to create a blank div and assign a n-hide attribute. This will look up by Angular.
Step 2: Now load the anuglar JS. You can do this from google CDN. and It's code will as below:-