example for ng-init with object