register works again
Merge pull request #43 from bchiatt/angular

register works again