Fix and warnings for ng-chown