AngularJS에서 ng-init
에 삼항 연산자를 사용할 수 있습니까? 같은AngularJS에서 ng-init에 ternary를 사용하는 방법은 무엇입니까?
뭔가 : <select ng-model="project" name="act" ng-options="act.user_id as act.user_display_name for act in actors" ng-init="isLoggedIn == true ? "" : act.user_id = credentials.user_id" ></select>
시도해 보셨습니까? – tymeJV