title: ZF2 REST based authentication
body: <p>I would like to create an AngularJS application, that will communicate with backend of ZF2.
  How can I make user's authentication? Please show me an easy example.
  Thanks</p>