title: Deciding between various methods for authentication in Angular 4
body: <p>I have read two tutorials of implementing Authentication in Angular 4. </p>
  
  <p>The <a href="http://tphangout.com/angular-2-authentication/" rel="nofollow noreferrer">first</a> one overrides the <strong><em>RouterOutlet</em></strong> class, and declare public routes, where the login is not required.  </p>
  
  <p>However, the <a href="http://jasonwatmore.com/post/2016/08/16/angular-2-jwt-authentication-example-tutorial" rel="nofollow noreferrer">second</a> approach is to use  <strong><em>canActivate</em></strong> AuthGuard Interface provided by Angular 4.<br>
  I am struggling to find out which approach is the correct or efficient one to implement.  </p>
  
  <p>Moreover, how can I implement authorization in Angular 4.  I read about <strong><em>canActivateChild</em></strong> interface, but it seems too complicated. </p>