Angular auth

Implemented auth as described in #39 
This needs to work with minification, see about state for an example