connected view to model that defined in the ng-init