In this tutorial we will be using <b>resolve</b> of angular js routes to validate a condition and take action before loading the template into the view.Access control in single page angular applications which are using routes.