ng-init testing