Angular auth

Implemented auth as described in #39 
Indentation align with .module