Assigning a principal
Some fixes
Merge pull request #70 from shizik/angularjs

Data Access fixes